summaryrefslogtreecommitdiff
path: root/include/extlinux.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-05-14 11:27:18 -0400
committerTom Rini <[email protected]>2023-05-14 11:27:18 -0400
commit177e506952a8ee34011590c4bd578d191fafb1ca (patch)
tree1c4be9b6329df4a1976125e87bf2fd8447990f29 /include/extlinux.h
parente94fbdd2729fdcd570035d43f67adda8e0dfc115 (diff)
parentfba0e7380269771bb9587fce84e56a059ebf7d42 (diff)
Merge branch '2023-05-13-bootstd-updates-and-improvements'
- Assorted bootstd fixes and cleanups. This should fix problems with Debian, and make script-based distributions work when BOOTMETH_DISTRO is enabled now (as BOOTMETH_DISTRO was renamed and then reintroduced).
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 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 <[email protected]>
+ */
+
+#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