Bryan O'Donoghue | 4b0de7c | 2018-03-13 16:50:27 +0000 | [diff] [blame] | 1 | config OPTEE |
| 2 | bool "Support OPTEE images" |
| 3 | help |
| 4 | U-Boot can be configured to boot OPTEE images. |
| 5 | Selecting this option will enable shared OPTEE library code and |
| 6 | enable an OPTEE specific bootm command that will perform additional |
| 7 | OPTEE specific checks before booting an OPTEE image created with |
| 8 | mkimage. |
Bryan O'Donoghue | 17054e5 | 2018-03-13 16:50:28 +0000 | [diff] [blame] | 9 | |
Bryan O'Donoghue | 57a35a2 | 2018-03-13 16:50:30 +0000 | [diff] [blame] | 10 | config OPTEE_LOAD_ADDR |
| 11 | hex "OPTEE load address" |
| 12 | default 0x00000000 |
Rui Miguel Silva | 0fec77d | 2018-09-05 11:56:06 +0100 | [diff] [blame^] | 13 | depends on OPTEE |
Bryan O'Donoghue | 57a35a2 | 2018-03-13 16:50:30 +0000 | [diff] [blame] | 14 | help |
| 15 | The load address of the bootable OPTEE binary. |
| 16 | |
Bryan O'Donoghue | 17054e5 | 2018-03-13 16:50:28 +0000 | [diff] [blame] | 17 | config OPTEE_TZDRAM_SIZE |
| 18 | hex "Amount of Trust-Zone RAM for the OPTEE image" |
Rui Miguel Silva | 0fec77d | 2018-09-05 11:56:06 +0100 | [diff] [blame^] | 19 | default 0x0000000 |
Bryan O'Donoghue | 17054e5 | 2018-03-13 16:50:28 +0000 | [diff] [blame] | 20 | help |
| 21 | The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE |
| 22 | runtime. |
Bryan O'Donoghue | c731540 | 2018-03-13 16:50:29 +0000 | [diff] [blame] | 23 | |
| 24 | config OPTEE_TZDRAM_BASE |
| 25 | hex "Base address of Trust-Zone RAM for the OPTEE image" |
Rui Miguel Silva | 0fec77d | 2018-09-05 11:56:06 +0100 | [diff] [blame^] | 26 | default 0x00000000 |
Bryan O'Donoghue | c731540 | 2018-03-13 16:50:29 +0000 | [diff] [blame] | 27 | help |
| 28 | The base address of pre-allocated Trust Zone DRAM for |
| 29 | the OPTEE runtime. |
Bryan O'Donoghue | 04ca815 | 2018-03-13 16:50:36 +0000 | [diff] [blame] | 30 | |
| 31 | config BOOTM_OPTEE |
| 32 | bool "Support OPTEE bootm command" |
| 33 | select BOOTM_LINUX |
Rui Miguel Silva | 0fec77d | 2018-09-05 11:56:06 +0100 | [diff] [blame^] | 34 | depends on OPTEE |
Bryan O'Donoghue | 04ca815 | 2018-03-13 16:50:36 +0000 | [diff] [blame] | 35 | default n |
| 36 | help |
| 37 | Select this command to enable chain-loading of a Linux kernel |
| 38 | via an OPTEE firmware. |
| 39 | The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case. |