aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-zynq7k
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2018-04-25 14:46:56 +0200
committerJérôme Forissier <jerome.forissier@linaro.org>2018-04-25 18:26:18 +0200
commit247bea90bfd8889052c0ff37d20071810aeaa967 (patch)
tree85f5f74dbfe23c78b971f32e056ebc2fafdf6059 /core/arch/arm/plat-zynq7k
parent446cc62a848e343a9d08e23476ba102fbc02065f (diff)
core: remove CFG_ prefix from TA_RAM_START/TA_RAM_SIZE
Almost platform currently define these directives from within the source code, through platform_config.h. These values do not need to be configuration directive with the CFG_ prefix. This change renames these macros so that they do not mess with the platform configuration directives. Old macro label New macro label CFG_TA_RAM_START TA_RAM_START CFG_TA_RAM_SIZE TA_RAM_SIZE Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'core/arch/arm/plat-zynq7k')
-rw-r--r--core/arch/arm/plat-zynq7k/platform_config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/arch/arm/plat-zynq7k/platform_config.h b/core/arch/arm/plat-zynq7k/platform_config.h
index bd4ad2ff..580f1f21 100644
--- a/core/arch/arm/plat-zynq7k/platform_config.h
+++ b/core/arch/arm/plat-zynq7k/platform_config.h
@@ -218,8 +218,8 @@
TZDRAM_SIZE)
#define CFG_SHMEM_SIZE CFG_PUB_RAM_SIZE
-#define CFG_TA_RAM_START TZDRAM_BASE
-#define CFG_TA_RAM_SIZE TZDRAM_SIZE
+#define TA_RAM_START TZDRAM_BASE
+#define TA_RAM_SIZE TZDRAM_SIZE
#define TEE_RAM_START TZSRAM_BASE
@@ -256,9 +256,9 @@
#define TZDRAM_SIZE (CFG_DDR_TEETZ_RESERVED_SIZE - \
CFG_PUB_RAM_SIZE)
-#define CFG_TA_RAM_START (CFG_DDR_TEETZ_RESERVED_START + \
+#define TA_RAM_START (CFG_DDR_TEETZ_RESERVED_START + \
TEE_RAM_PH_SIZE)
-#define CFG_TA_RAM_SIZE (CFG_DDR_TEETZ_RESERVED_SIZE - \
+#define TA_RAM_SIZE (CFG_DDR_TEETZ_RESERVED_SIZE - \
TEE_RAM_PH_SIZE - \
CFG_PUB_RAM_SIZE)