aboutsummaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorEtienne Carriere <etienne.carriere@linaro.org>2018-04-25 15:24:25 +0200
committerJérôme Forissier <jerome.forissier@linaro.org>2018-04-25 18:26:18 +0200
commit446cc62a848e343a9d08e23476ba102fbc02065f (patch)
treed9a032b883659553255e229dfa2ee17c57c3d196 /documentation
parent847b6aa6bb4abda37ec00c23cc2b53564c02ed29 (diff)
core: remove CFG_ prefix from TEE_RAM_START/VA_SIZE/PH_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_TEE_RAM_START TEE_RAM_START CFG_TEE_RAM_VA_SIZE TEE_RAM_VA_SIZE CFG_TEE_RAM_PH_SIZE TEE_RAM_PH_SIZE Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/porting_guidelines.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/documentation/porting_guidelines.md b/documentation/porting_guidelines.md
index 27710bb0..6cb7880d 100644
--- a/documentation/porting_guidelines.md
+++ b/documentation/porting_guidelines.md
@@ -160,12 +160,12 @@ could look like this:
#define CFG_TEE_CORE_NB_CORE 4
-#define CFG_TEE_RAM_VA_SIZE (4 * 1024 * 1024)
+#define TEE_RAM_VA_SIZE (4 * 1024 * 1024)
#define CFG_TEE_LOAD_ADDR (TZDRAM_BASE + 0x20000)
-#define CFG_TEE_RAM_PH_SIZE CFG_TEE_RAM_VA_SIZE
-#define CFG_TEE_RAM_START TZDRAM_BASE
+#define TEE_RAM_PH_SIZE TEE_RAM_VA_SIZE
+#define TEE_RAM_START TZDRAM_BASE
#define CFG_TA_RAM_START ROUNDUP((TZDRAM_BASE + CFG_TEE_RAM_VA_SIZE), \
CORE_MMU_DEVICE_SIZE)