Patrick Delaunay | 51827f9 | 2021-09-02 11:56:16 +0200 | [diff] [blame^] | 1 | config 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 | |
| 7 | config OPTEE_IMAGE |
Bryan O'Donoghue | 32ce617 | 2018-03-13 16:50:27 +0000 | [diff] [blame] | 8 | bool "Support OPTEE images" |
| 9 | help |
Patrick Delaunay | 51827f9 | 2021-09-02 11:56:16 +0200 | [diff] [blame^] | 10 | 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'Donoghue | d89a5aa | 2018-03-13 16:50:28 +0000 | [diff] [blame] | 13 | |
Bryan O'Donoghue | f25006b | 2018-03-13 16:50:30 +0000 | [diff] [blame] | 14 | config OPTEE_LOAD_ADDR |
| 15 | hex "OPTEE load address" |
| 16 | default 0x00000000 |
Patrick Delaunay | 51827f9 | 2021-09-02 11:56:16 +0200 | [diff] [blame^] | 17 | depends on OPTEE_LIB |
Bryan O'Donoghue | f25006b | 2018-03-13 16:50:30 +0000 | [diff] [blame] | 18 | help |
| 19 | The load address of the bootable OPTEE binary. |
| 20 | |
Bryan O'Donoghue | d89a5aa | 2018-03-13 16:50:28 +0000 | [diff] [blame] | 21 | config OPTEE_TZDRAM_SIZE |
| 22 | hex "Amount of Trust-Zone RAM for the OPTEE image" |
Rui Miguel Silva | c7b3a7e | 2018-09-05 11:56:06 +0100 | [diff] [blame] | 23 | default 0x0000000 |
Patrick Delaunay | 51827f9 | 2021-09-02 11:56:16 +0200 | [diff] [blame^] | 24 | depends on OPTEE_LIB |
Bryan O'Donoghue | d89a5aa | 2018-03-13 16:50:28 +0000 | [diff] [blame] | 25 | help |
| 26 | The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE |
| 27 | runtime. |
Bryan O'Donoghue | 35499ba | 2018-03-13 16:50:29 +0000 | [diff] [blame] | 28 | |
| 29 | config OPTEE_TZDRAM_BASE |
| 30 | hex "Base address of Trust-Zone RAM for the OPTEE image" |
Rui Miguel Silva | c7b3a7e | 2018-09-05 11:56:06 +0100 | [diff] [blame] | 31 | default 0x00000000 |
Patrick Delaunay | 51827f9 | 2021-09-02 11:56:16 +0200 | [diff] [blame^] | 32 | depends on OPTEE_LIB |
Bryan O'Donoghue | 35499ba | 2018-03-13 16:50:29 +0000 | [diff] [blame] | 33 | help |
| 34 | The base address of pre-allocated Trust Zone DRAM for |
| 35 | the OPTEE runtime. |
Bryan O'Donoghue | c225e7c | 2018-03-13 16:50:36 +0000 | [diff] [blame] | 36 | |
| 37 | config BOOTM_OPTEE |
| 38 | bool "Support OPTEE bootm command" |
| 39 | select BOOTM_LINUX |
Patrick Delaunay | 51827f9 | 2021-09-02 11:56:16 +0200 | [diff] [blame^] | 40 | select OPTEE_IMAGE |
Bryan O'Donoghue | c225e7c | 2018-03-13 16:50:36 +0000 | [diff] [blame] | 41 | 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. |