diff options
| author | Bryan O'Donoghue <[email protected]> | 2018-03-13 16:50:36 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-03-19 16:14:25 -0400 |
| commit | c225e7cf54fcad44902488f0d07bf362a477adf8 (patch) | |
| tree | 57a45fb68f3211b373f25c45b286e1ea9f863f14 /lib/optee | |
| parent | 45b55712d45150a810950aae84355e54c945cfcb (diff) | |
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 <[email protected]>
Suggested-by: Andrew F. Davis <[email protected]>
Cc: Harinarayan Bhatta <[email protected]>
Cc: Andrew F. Davis <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Peng Fan <[email protected]>
Diffstat (limited to 'lib/optee')
| -rw-r--r-- | lib/optee/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/optee/Kconfig b/lib/optee/Kconfig index cc73ec3fb56..1e5ab45c3d7 100644 --- a/lib/optee/Kconfig +++ b/lib/optee/Kconfig @@ -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. |
