]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Create a function to run through the bootm states
authorSimon Glass <sjg@chromium.org>
Sat, 16 Dec 2023 03:14:21 +0000 (20:14 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 21 Dec 2023 21:07:52 +0000 (16:07 -0500)
commite1a24c025c3b065b417bd0dd491cb7000583b334
tree19ce5052dff83bd388354b9848ec104cccbda5c2
parent725ddf1f24f7d08aa344f64d06c62cf5f50a6b6c
bootm: Create a function to run through the bootm states

In quite a few places, the bootm command is used to handle a boot. We
want these to be done without needing CONFIG_CMDLINE, so add a new
bootm_run() function to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/bootm.c
cmd/bootm.c
include/bootm.h