diff options
author | Philippe Reynes <philippe.reynes@softathome.com> | 2022-03-28 22:57:00 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-31 14:12:01 -0400 |
commit | 9d46e63d9771c789c2c934bb6f5f6af042f1bba0 (patch) | |
tree | 203636401a0370414a4ec1074ae69cde649b6d63 /include/image.h | |
parent | 982207435a7b96d594336a88c08cb5b09e5f2963 (diff) | |
download | u-boot-9d46e63d9771c789c2c934bb6f5f6af042f1bba0.tar.gz |
cmd: bootm: add a stage pre-load
Add a stage pre-load to the command bootm.
Right now, this stage may be used to read a
header and check the signature of the full
image.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index fbcf70f5e4..496b7af3f3 100644 --- a/include/image.h +++ b/include/image.h @@ -351,6 +351,7 @@ typedef struct bootm_headers { #define BOOTM_STATE_OS_PREP (0x00000100) #define BOOTM_STATE_OS_FAKE_GO (0x00000200) /* 'Almost' run the OS */ #define BOOTM_STATE_OS_GO (0x00000400) +#define BOOTM_STATE_PRE_LOAD 0x00000800 int state; #if defined(CONFIG_LMB) && !defined(USE_HOSTCC) |