aboutsummaryrefslogtreecommitdiff
path: root/include/bootm.h
diff options
context:
space:
mode:
authorSimon Glass2023-07-30 11:17:02 -0600
committerSimon Glass2023-08-11 07:33:40 -0600
commitdaffb0be2c839f3abe431cd68c772fae0e7e49ca (patch)
treee351ce439869f04cb35adad5fa0bd8854807c059 /include/bootm.h
parentc279224ea6686a992b258b01e07fcadb7f0c7ecb (diff)
bootstd: cros: Add ARM support
Support booting ChromiumOS on ARM devices using FIT. Add an entry into the boot implementation which does not require a command line. This can be expanded over time as the bootm code is refactored. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bootm.h')
-rw-r--r--include/bootm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h
index 92870ff1a20..c3c7336207b 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -163,4 +163,12 @@ const char *zimage_get_kernel_version(struct boot_params *params,
*/
void zimage_dump(struct boot_params *base_ptr, bool show_cmdline);
+/*
+ * bootm_boot_start() - Boot an image at the given address
+ *
+ * @addr: Image address
+ * @cmdline: Command line to set
+ */
+int bootm_boot_start(ulong addr, const char *cmdline);
+
#endif