mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
bootm: Support boot measurement
Add a configuration option to measure the boot through the bootm function. Add the measurement state to the booti and bootz paths as well. Signed-off-by: Eddie James <eajames@linux.ibm.com> Reviewed-by: Simon Glass <sjg@chromium.org> Ilias: Added some info on Kconfig explaining this is when booting !EFI Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
97707f12fd
commit
dec166d6b2
7 changed files with 122 additions and 0 deletions
|
@ -409,6 +409,7 @@ struct bootm_headers {
|
|||
#define BOOTM_STATE_OS_FAKE_GO 0x00000200 /* 'Almost' run the OS */
|
||||
#define BOOTM_STATE_OS_GO 0x00000400
|
||||
#define BOOTM_STATE_PRE_LOAD 0x00000800
|
||||
#define BOOTM_STATE_MEASURE 0x00001000
|
||||
int state;
|
||||
|
||||
#if defined(CONFIG_LMB) && !defined(USE_HOSTCC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue