mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
bootm: optee: Add a bootm command for type IH_OS_TEE
This patch makes it possible to verify the contents and location of an OPTEE image in DRAM prior to handing off control to that image. If image verification fails we won't try to boot any further. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Suggested-by: Andrew F. Davis <afd@ti.com> Cc: Harinarayan Bhatta <harinarayan@ti.com> Cc: Andrew F. Davis <afd@ti.com> Cc: Tom Rini <trini@konsulko.com> Cc: Kever Yang <kever.yang@rock-chips.com> Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Cc: Peng Fan <peng.fan@nxp.com>
This commit is contained in:

committed by
Tom Rini

parent
45b55712d4
commit
c225e7cf54
@ -28,3 +28,12 @@ config OPTEE_TZDRAM_BASE
|
||||
help
|
||||
The base address of pre-allocated Trust Zone DRAM for
|
||||
the OPTEE runtime.
|
||||
|
||||
config BOOTM_OPTEE
|
||||
bool "Support OPTEE bootm command"
|
||||
select BOOTM_LINUX
|
||||
default n
|
||||
help
|
||||
Select this command to enable chain-loading of a Linux kernel
|
||||
via an OPTEE firmware.
|
||||
The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case.
|
||||
|
Reference in New Issue
Block a user