aboutsummaryrefslogtreecommitdiff
path: root/include/extlinux.h
diff options
context:
space:
mode:
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 <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