mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +00:00
c225e7cf54
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>
39 lines
1.1 KiB
Text
39 lines
1.1 KiB
Text
config OPTEE
|
|
bool "Support OPTEE images"
|
|
help
|
|
U-Boot can be configured to boot OPTEE images.
|
|
Selecting this option will enable shared OPTEE library code and
|
|
enable an OPTEE specific bootm command that will perform additional
|
|
OPTEE specific checks before booting an OPTEE image created with
|
|
mkimage.
|
|
|
|
config OPTEE_LOAD_ADDR
|
|
hex "OPTEE load address"
|
|
default 0x00000000
|
|
help
|
|
The load address of the bootable OPTEE binary.
|
|
|
|
config OPTEE_TZDRAM_SIZE
|
|
hex "Amount of Trust-Zone RAM for the OPTEE image"
|
|
depends on OPTEE
|
|
default 0x3000000
|
|
help
|
|
The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
|
|
runtime.
|
|
|
|
config OPTEE_TZDRAM_BASE
|
|
hex "Base address of Trust-Zone RAM for the OPTEE image"
|
|
depends on OPTEE
|
|
default 0x9d000000
|
|
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.
|