diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2021-09-07 12:07:09 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-05 08:50:14 -0400 |
commit | c5b68ef8af3c2f515c1f5b8d63a69359a85d753b (patch) | |
tree | f2b8ff50d78215c78010d0e17deb3648a29d0dea /arch | |
parent | f6953047cb99d50cca0dc73740337b08fbdc1bf8 (diff) | |
download | u-boot-c5b68ef8af3c2f515c1f5b8d63a69359a85d753b.zip u-boot-c5b68ef8af3c2f515c1f5b8d63a69359a85d753b.tar.gz u-boot-c5b68ef8af3c2f515c1f5b8d63a69359a85d753b.tar.bz2 |
arm: imx: mx7: Move CONFIG_OPTEE_TZDRAM_SIZE from lib/optee
This config is only used by three boards with this SOC. Most other
platforms derive this information from devicetree, and are unlikely
to ever need this config.
Moreover, it is confusing when Kconfig asks for this value under
"Support OPTEE images", but does not do anything with the value.
Move it to imx7 for those boards who still make use of it.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/mx7/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx7/Kconfig b/arch/arm/mach-imx/mx7/Kconfig index 059e658..0cad825 100644 --- a/arch/arm/mach-imx/mx7/Kconfig +++ b/arch/arm/mach-imx/mx7/Kconfig @@ -23,6 +23,14 @@ config SPL_TEXT_BASE depends on SPL default 0x00912000 +config OPTEE_TZDRAM_SIZE + hex "Amount of Trust-Zone RAM for the OPTEE image" + default 0x0000000 + depends on OPTEE_LIB + help + The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE + runtime. + choice prompt "MX7 board select" optional |