summaryrefslogtreecommitdiff
path: root/include/extlinux.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-05-10 16:34:46 -0600
committerTom Rini <trini@konsulko.com>2023-05-13 09:52:32 -0400
commit79f663515a8a55bdcb7496d3db51462b6ff7c0c2 (patch)
tree186981198b5434e049fbf3ead359c37bbc590369 /include/extlinux.h
parentc8894348454aef103a29e5afbfe45c0959b9d45b (diff)
downloadu-boot-79f663515a8a55bdcb7496d3db51462b6ff7c0c2.tar.gz
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 <sjg@chromium.org>
Diffstat (limited to 'include/extlinux.h')
-rw-r--r--include/extlinux.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/extlinux.h b/include/extlinux.h
new file mode 100644
index 0000000000..721ba46371
--- /dev/null
+++ b/include/extlinux.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2021 Google LLC
+ * Written by Simon Glass <sjg@chromium.org>
+ */
+
+#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