summaryrefslogtreecommitdiff
path: root/configs/warp7_defconfig
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2018-09-05 11:56:06 +0100
committerStefano Babic <sbabic@denx.de>2018-10-22 14:37:28 +0200
commitc7b3a7ee53512380a80a029e8a993ff470ff5b61 (patch)
treeeac06a5940484323be56ddb845feb7bd0beb85b7 /configs/warp7_defconfig
parentbe277c3a89fcec9f837bf4fb562c606155b0999f (diff)
optee: adjust dependencies and default values for dram
We may have, the not yet considered, scenario where OPTEE is loaded before u-boot and *not* by u-boot, e.g, the boot flow using the ARM Trusted Firmware (ATF), where in the 32bit flow is: BootRom->ATF(BL2)->Optee(BL32)->u-boot(BL33) In this case we need still to reserve the memory used by optee, to avoid for example to realocate ourself to the same address at the end of DRAM. So, we change here the dependencies on the OPTEE lib and we set the default size and base of TZRAM to zero. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Cc: Fabio Estevam <fabio.estevam@nxp.com> Cc: Ryan Harkin <ryan.harkin@linaro.org> Cc: u-boot@lists.denx.de
Diffstat (limited to 'configs/warp7_defconfig')
-rw-r--r--configs/warp7_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig
index 15a66739f8..a1c0b69ea8 100644
--- a/configs/warp7_defconfig
+++ b/configs/warp7_defconfig
@@ -46,5 +46,7 @@ CONFIG_USB_ETH_CDC=y
CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
CONFIG_OF_LIBFDT=y
CONFIG_OPTEE=y
+CONFIG_OPTEE_TZDRAM_SIZE=0x3000000
+CONFIG_OPTEE_TZDRAM_BASE=0x9d000000
CONFIG_OPTEE_LOAD_ADDR=0x84000000
CONFIG_BOOTM_OPTEE=y