mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
f6953047cb
commit
c5b68ef8af
2 changed files with 8 additions and 8 deletions
|
@ -23,6 +23,14 @@ config SPL_TEXT_BASE
|
||||||
depends on SPL
|
depends on SPL
|
||||||
default 0x00912000
|
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
|
choice
|
||||||
prompt "MX7 board select"
|
prompt "MX7 board select"
|
||||||
optional
|
optional
|
||||||
|
|
|
@ -11,14 +11,6 @@ config OPTEE_IMAGE
|
||||||
This option enable the OPTEE specific checks done before booting
|
This option enable the OPTEE specific checks done before booting
|
||||||
an OPTEE image created with mkimage
|
an OPTEE image created with mkimage
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
config BOOTM_OPTEE
|
config BOOTM_OPTEE
|
||||||
bool "Support OPTEE bootm command"
|
bool "Support OPTEE bootm command"
|
||||||
select BOOTM_LINUX
|
select BOOTM_LINUX
|
||||||
|
|
Loading…
Reference in a new issue