diff options
author | Simon Glass <sjg@chromium.org> | 2023-07-30 11:17:02 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-08-11 07:33:40 -0600 |
commit | daffb0be2c839f3abe431cd68c772fae0e7e49ca (patch) | |
tree | e351ce439869f04cb35adad5fa0bd8854807c059 /include | |
parent | c279224ea6686a992b258b01e07fcadb7f0c7ecb (diff) | |
download | u-boot-daffb0be2c839f3abe431cd68c772fae0e7e49ca.tar.gz u-boot-daffb0be2c839f3abe431cd68c772fae0e7e49ca.tar.bz2 u-boot-daffb0be2c839f3abe431cd68c772fae0e7e49ca.zip |
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')
-rw-r--r-- | include/bootm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/bootm.h b/include/bootm.h index 92870ff1a2..c3c7336207 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 |