arm: imx: mx7: Move CONFIG_OPTEE_TZDRAM_SIZE from lib/optee
[platform/kernel/u-boot.git] / arch / arm / mach-imx / mx7 / Kconfig
index adedc01..0cad825 100644 (file)
@@ -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
@@ -91,6 +99,7 @@ config TARGET_COLIBRI_IMX7
        select DM
        select DM_SERIAL
        select DM_THERMAL
+       select MX7D
        imply CMD_DM
 
 endchoice