xref: /openbmc/u-boot/lib/optee/Kconfig (revision 2f07a9a6)
132ce6179SBryan O'Donoghueconfig OPTEE
232ce6179SBryan O'Donoghue	bool "Support OPTEE images"
332ce6179SBryan O'Donoghue	help
432ce6179SBryan O'Donoghue	  U-Boot can be configured to boot OPTEE images.
532ce6179SBryan O'Donoghue	  Selecting this option will enable shared OPTEE library code and
632ce6179SBryan O'Donoghue          enable an OPTEE specific bootm command that will perform additional
732ce6179SBryan O'Donoghue          OPTEE specific checks before booting an OPTEE image created with
832ce6179SBryan O'Donoghue          mkimage.
9d89a5aa6SBryan O'Donoghue
10f25006b9SBryan O'Donoghueconfig OPTEE_LOAD_ADDR
11f25006b9SBryan O'Donoghue	hex "OPTEE load address"
12f25006b9SBryan O'Donoghue	default 0x00000000
13*c7b3a7eeSRui Miguel Silva	depends on OPTEE
14f25006b9SBryan O'Donoghue	help
15f25006b9SBryan O'Donoghue	  The load address of the bootable OPTEE binary.
16f25006b9SBryan O'Donoghue
17d89a5aa6SBryan O'Donoghueconfig OPTEE_TZDRAM_SIZE
18d89a5aa6SBryan O'Donoghue	hex "Amount of Trust-Zone RAM for the OPTEE image"
19*c7b3a7eeSRui Miguel Silva	default 0x0000000
20d89a5aa6SBryan O'Donoghue	help
21d89a5aa6SBryan O'Donoghue	  The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
22d89a5aa6SBryan O'Donoghue	  runtime.
2335499bafSBryan O'Donoghue
2435499bafSBryan O'Donoghueconfig OPTEE_TZDRAM_BASE
2535499bafSBryan O'Donoghue	hex "Base address of Trust-Zone RAM for the OPTEE image"
26*c7b3a7eeSRui Miguel Silva	default 0x00000000
2735499bafSBryan O'Donoghue	help
2835499bafSBryan O'Donoghue	  The base address of pre-allocated Trust Zone DRAM for
2935499bafSBryan O'Donoghue	  the OPTEE runtime.
30c225e7cfSBryan O'Donoghue
31c225e7cfSBryan O'Donoghueconfig BOOTM_OPTEE
32c225e7cfSBryan O'Donoghue	bool "Support OPTEE bootm command"
33c225e7cfSBryan O'Donoghue	select BOOTM_LINUX
34*c7b3a7eeSRui Miguel Silva	depends on OPTEE
35c225e7cfSBryan O'Donoghue	default n
36c225e7cfSBryan O'Donoghue	help
37c225e7cfSBryan O'Donoghue	  Select this command to enable chain-loading of a Linux kernel
38c225e7cfSBryan O'Donoghue	  via an OPTEE firmware.
39c225e7cfSBryan O'Donoghue	  The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case.
40