blob: c398f9b953577f7575b9c629a70d3ba1048bb065 [file] [log] [blame]
Bryan O'Donoghue32ce6172018-03-13 16:50:27 +00001config 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'Donoghued89a5aa2018-03-13 16:50:28 +00009
Bryan O'Donoghuef25006b2018-03-13 16:50:30 +000010config OPTEE_LOAD_ADDR
11 hex "OPTEE load address"
12 default 0x00000000
Rui Miguel Silvac7b3a7e2018-09-05 11:56:06 +010013 depends on OPTEE
Bryan O'Donoghuef25006b2018-03-13 16:50:30 +000014 help
15 The load address of the bootable OPTEE binary.
16
Bryan O'Donoghued89a5aa2018-03-13 16:50:28 +000017config OPTEE_TZDRAM_SIZE
18 hex "Amount of Trust-Zone RAM for the OPTEE image"
Rui Miguel Silvac7b3a7e2018-09-05 11:56:06 +010019 default 0x0000000
Bryan O'Donoghue7e7cc902019-05-04 01:08:23 +010020 depends on OPTEE
Bryan O'Donoghued89a5aa2018-03-13 16:50:28 +000021 help
22 The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
23 runtime.
Bryan O'Donoghue35499ba2018-03-13 16:50:29 +000024
25config OPTEE_TZDRAM_BASE
26 hex "Base address of Trust-Zone RAM for the OPTEE image"
Rui Miguel Silvac7b3a7e2018-09-05 11:56:06 +010027 default 0x00000000
Bryan O'Donoghue7e7cc902019-05-04 01:08:23 +010028 depends on OPTEE
Bryan O'Donoghue35499ba2018-03-13 16:50:29 +000029 help
30 The base address of pre-allocated Trust Zone DRAM for
31 the OPTEE runtime.
Bryan O'Donoghuec225e7c2018-03-13 16:50:36 +000032
33config BOOTM_OPTEE
34 bool "Support OPTEE bootm command"
35 select BOOTM_LINUX
Rui Miguel Silvac7b3a7e2018-09-05 11:56:06 +010036 depends on OPTEE
Bryan O'Donoghuec225e7c2018-03-13 16:50:36 +000037 default n
38 help
39 Select this command to enable chain-loading of a Linux kernel
40 via an OPTEE firmware.
41 The bootflow is BootROM -> u-boot -> OPTEE -> Linux in this case.