diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2018-03-13 16:50:36 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-03-19 16:14:25 -0400 |
commit | c225e7cf54fcad44902488f0d07bf362a477adf8 (patch) | |
tree | 57a45fb68f3211b373f25c45b286e1ea9f863f14 /lib | |
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 <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>
Diffstat (limited to 'lib')
-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 cc73ec3fb5..1e5ab45c3d 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. |