summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>2021-09-07 12:07:07 -0500
committerTom Rini <trini@konsulko.com>2021-10-05 08:46:56 -0400
commit1ab968b2fb1d63c49943450bfff14d18c0f54705 (patch)
treeb01cf523b320231d49c4c6b3e6a623d42b6621ce
parent26fc66709c0de7732a12fd59dbce5a83eb454bae (diff)
lib: optee: Remove CONFIG_OPTEE_TZDRAM_BASE
It is no longer used in u-boot. Information about the TZDRAM location is usually available in the devicetree as "/reserved-memory/" nodes. Because this isn't used, remove it. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r--configs/warp7_bl33_defconfig1
-rw-r--r--configs/warp7_defconfig1
-rw-r--r--lib/optee/Kconfig8
3 files changed, 0 insertions, 10 deletions
diff --git a/configs/warp7_bl33_defconfig b/configs/warp7_bl33_defconfig
index d127a4f8d32..246a1ec6fe3 100644
--- a/configs/warp7_bl33_defconfig
+++ b/configs/warp7_bl33_defconfig
@@ -69,4 +69,3 @@ CONFIG_USB_ETH_CDC=y
CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
CONFIG_OF_LIBFDT_OVERLAY=y
CONFIG_OPTEE_TZDRAM_SIZE=0x02000000
-CONFIG_OPTEE_TZDRAM_BASE=0x9e000000
diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig
index 4b339b47caf..27529dd9916 100644
--- a/configs/warp7_defconfig
+++ b/configs/warp7_defconfig
@@ -75,5 +75,4 @@ CONFIG_USB_ETH_CDC=y
CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00"
CONFIG_OPTEE_LOAD_ADDR=0x84000000
CONFIG_OPTEE_TZDRAM_SIZE=0x3000000
-CONFIG_OPTEE_TZDRAM_BASE=0x9d000000
CONFIG_BOOTM_OPTEE=y
diff --git a/lib/optee/Kconfig b/lib/optee/Kconfig
index 3072c289128..3f8ce49678e 100644
--- a/lib/optee/Kconfig
+++ b/lib/optee/Kconfig
@@ -26,14 +26,6 @@ config OPTEE_TZDRAM_SIZE
The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
runtime.
-config OPTEE_TZDRAM_BASE
- hex "Base address of Trust-Zone RAM for the OPTEE image"
- default 0x00000000
- depends on OPTEE_LIB
- help
- The base address of pre-allocated Trust Zone DRAM for
- the OPTEE runtime.
-
config BOOTM_OPTEE
bool "Support OPTEE bootm command"
select BOOTM_LINUX