From 79f663515a8a55bdcb7496d3db51462b6ff7c0c2 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 10 May 2023 16:34:46 -0600 Subject: bootstd: Rename distro and syslinux to extlinux We use the terms 'distro' to mean extlinux but they are not really the same. 'Distro' could refer to any method of booting a distribution, whereas extlinux is a particular method. Also we sometimes use syslinux, but it is better to use the same term in all cases. Rename distro to syslinux and also update bootstd uses of syslinux to use extlinux instead. Signed-off-by: Simon Glass --- include/extlinux.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/extlinux.h (limited to 'include/extlinux.h') diff --git a/include/extlinux.h b/include/extlinux.h new file mode 100644 index 00000000000..721ba46371c --- /dev/null +++ b/include/extlinux.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 Google LLC + * Written by Simon Glass + */ + +#ifndef __extlinux_h +#define __extlinux_h + +#define EXTLINUX_FNAME "extlinux/extlinux.conf" + +/** + * struct extlinux_info - useful information for extlinux_getfile() + * + * @dev: bootmethod device being used to boot + * @bflow: bootflow being booted + */ +struct extlinux_info { + struct udevice *dev; + struct bootflow *bflow; + struct cmd_tbl *cmdtp; +}; + +#endif -- cgit v1.2.3