blob: 3072c289128d292cc90e629043f28088df1448fd [file] [log] [blame]
Patrick Delaunay51827f92021-09-02 11:56:16 +02001config OPTEE_LIB
2 bool "Support OPTEE library"
3 default y if OPTEE || OPTEE_IMAGE
4 help
5 Selecting this option will enable the shared OPTEE library code.
6
7config OPTEE_IMAGE
Bryan O'Donoghue32ce6172018-03-13 16:50:27 +00008 bool "Support OPTEE images"
9 help
Patrick Delaunay51827f92021-09-02 11:56:16 +020010 Selecting this option to boot OPTEE images.
11 This option enable the OPTEE specific checks done before booting
12 an OPTEE image created with mkimage
Bryan O'Donoghued89a5aa2018-03-13 16:50:28 +000013
Bryan O'Donoghuef25006b2018-03-13 16:50:30 +000014config OPTEE_LOAD_ADDR
15 hex "OPTEE load address"
16 default 0x00000000
Patrick Delaunay51827f92021-09-02 11:56:16 +020017 depends on OPTEE_LIB
Bryan O'Donoghuef25006b2018-03-13 16:50:30 +000018 help
19 The load address of the bootable OPTEE binary.
20
Bryan O'Donoghued89a5aa2018-03-13 16:50:28 +000021config OPTEE_TZDRAM_SIZE
22 hex "Amount of Trust-Zone RAM for the OPTEE image"
Rui Miguel Silvac7b3a7e2018-09-05 11:56:06 +010023 default 0x0000000
Patrick Delaunay51827f92021-09-02 11:56:16 +020024 depends on OPTEE_LIB
Bryan O'Donoghued89a5aa2018-03-13 16:50:28 +000025 help
26 The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
27 runtime.
Bryan O'Donoghue35499ba2018-03-13 16:50:29 +000028
29config OPTEE_TZDRAM_BASE
30 hex "Base address of Trust-Zone RAM for the OPTEE image"
Rui Miguel Silvac7b3a7e2018-09-05 11:56:06 +010031 default 0x00000000
Patrick Delaunay51827f92021-09-02 11:56:16 +020032 depends on OPTEE_LIB
Bryan O'Donoghue35499ba2018-03-13 16:50:29 +000033 help
34 The base address of pre-allocated Trust Zone DRAM for
35 the OPTEE runtime.
Bryan O'Donoghuec225e7c2018-03-13 16:50:36 +000036
37config BOOTM_OPTEE
38 bool "Support OPTEE bootm command"
39 select BOOTM_LINUX
Patrick Delaunay51827f92021-09-02 11:56:16 +020040 select OPTEE_IMAGE
Bryan O'Donoghuec225e7c2018-03-13 16:50:36 +000041 help
42 Select this command to enable chain-loading of a Linux kernel
43 via an OPTEE firmware.
44 The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case.