summaryrefslogtreecommitdiff
path: root/include/extlinux.h
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-06-12 14:55:33 -0400
committerTom Rini <[email protected]>2023-06-12 14:55:33 -0400
commit260d4962e06c0a7d2713523c131416a3f70d7f2c (patch)
tree14b9d414810e97f1ffdfdaf099db57a5bbf45a79 /include/extlinux.h
parent5b589e139620214f26eb83c9fb7bbd62b5f8fc1d (diff)
parent19b77d3d23966a0d6dbb3c86187765f11100fb6f (diff)
Merge tag v2023.07-rc4 into next
Signed-off-by: Tom Rini <[email protected]>
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