bootm: Support boot measurement
authorEddie James <eajames@linux.ibm.com>
Tue, 24 Oct 2023 15:43:50 +0000 (10:43 -0500)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Fri, 27 Oct 2023 10:15:57 +0000 (13:15 +0300)
commitdec166d6b2c28d971394ebe1bc0ac70b88b575c0
treeef358001d2c0b68a23a24bb42fbf2c96b187f22c
parent97707f12fdabf5fab5942504dab711a665854942
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>
boot/Kconfig
boot/bootm.c
cmd/booti.c
cmd/bootm.c
cmd/bootz.c
include/bootm.h
include/image.h