xref: /openbmc/u-boot/lib/optee/Kconfig (revision 894c3ad2)
1config OPTEE
2	bool "Support OPTEE images"
3	help
4	  U-Boot can be configured to boot OPTEE images.
5	  Selecting this option will enable shared OPTEE library code and
6          enable an OPTEE specific bootm command that will perform additional
7          OPTEE specific checks before booting an OPTEE image created with
8          mkimage.
9
10config OPTEE_LOAD_ADDR
11	hex "OPTEE load address"
12	default 0x00000000
13	help
14	  The load address of the bootable OPTEE binary.
15
16config OPTEE_TZDRAM_SIZE
17	hex "Amount of Trust-Zone RAM for the OPTEE image"
18	depends on OPTEE
19	default 0x3000000
20	help
21	  The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
22	  runtime.
23
24config OPTEE_TZDRAM_BASE
25	hex "Base address of Trust-Zone RAM for the OPTEE image"
26	depends on OPTEE
27	default 0x9d000000
28	help
29	  The base address of pre-allocated Trust Zone DRAM for
30	  the OPTEE runtime.
31
32config BOOTM_OPTEE
33	bool "Support OPTEE bootm command"
34	select BOOTM_LINUX
35	default n
36	help
37	  Select this command to enable chain-loading of a Linux kernel
38	  via an OPTEE firmware.
39	  The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case.
40