Patrick Delaunay | a7ca480 | 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 | 4b0de7c | 2018-03-13 16:50:27 +0000 | [diff] [blame] | 8 | bool "Support OPTEE images" |
| 9 | help |
Patrick Delaunay | a7ca480 | 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 | 17054e5 | 2018-03-13 16:50:28 +0000 | [diff] [blame] | 13 | |
Ricardo Salveti | 929f7ce | 2023-08-25 16:47:11 +0300 | [diff] [blame] | 14 | config OPTEE_TZDRAM_SIZE |
| 15 | hex "Amount of Trust-Zone RAM for the OPTEE image" |
| 16 | default 0x0000000 |
| 17 | depends on OPTEE_LIB |
| 18 | help |
| 19 | The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE |
| 20 | runtime. |
| 21 | |
Bryan O'Donoghue | 04ca815 | 2018-03-13 16:50:36 +0000 | [diff] [blame] | 22 | config BOOTM_OPTEE |
| 23 | bool "Support OPTEE bootm command" |
| 24 | select BOOTM_LINUX |
Patrick Delaunay | a7ca480 | 2021-09-02 11:56:16 +0200 | [diff] [blame] | 25 | select OPTEE_IMAGE |
Bryan O'Donoghue | 04ca815 | 2018-03-13 16:50:36 +0000 | [diff] [blame] | 26 | help |
| 27 | Select this command to enable chain-loading of a Linux kernel |
| 28 | via an OPTEE firmware. |
| 29 | The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case. |