xref: /openbmc/u-boot/lib/optee/Kconfig (revision c225e7cf)
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
13f25006b9SBryan O'Donoghue	help
14f25006b9SBryan O'Donoghue	  The load address of the bootable OPTEE binary.
15f25006b9SBryan O'Donoghue
16d89a5aa6SBryan O'Donoghueconfig OPTEE_TZDRAM_SIZE
17d89a5aa6SBryan O'Donoghue	hex "Amount of Trust-Zone RAM for the OPTEE image"
18d89a5aa6SBryan O'Donoghue	depends on OPTEE
19d89a5aa6SBryan O'Donoghue	default 0x3000000
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"
2635499bafSBryan O'Donoghue	depends on OPTEE
2735499bafSBryan O'Donoghue	default 0x9d000000
2835499bafSBryan O'Donoghue	help
2935499bafSBryan O'Donoghue	  The base address of pre-allocated Trust Zone DRAM for
3035499bafSBryan O'Donoghue	  the OPTEE runtime.
31*c225e7cfSBryan O'Donoghue
32*c225e7cfSBryan O'Donoghueconfig BOOTM_OPTEE
33*c225e7cfSBryan O'Donoghue	bool "Support OPTEE bootm command"
34*c225e7cfSBryan O'Donoghue	select BOOTM_LINUX
35*c225e7cfSBryan O'Donoghue	default n
36*c225e7cfSBryan O'Donoghue	help
37*c225e7cfSBryan O'Donoghue	  Select this command to enable chain-loading of a Linux kernel
38*c225e7cfSBryan O'Donoghue	  via an OPTEE firmware.
39*c225e7cfSBryan O'Donoghue	  The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case.
40