diff options
author | Etienne Carriere <etienne.carriere@linaro.org> | 2018-04-25 14:46:56 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-04-25 18:26:18 +0200 |
commit | 247bea90bfd8889052c0ff37d20071810aeaa967 (patch) | |
tree | 85f5f74dbfe23c78b971f32e056ebc2fafdf6059 /documentation | |
parent | 446cc62a848e343a9d08e23476ba102fbc02065f (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 'documentation')
-rw-r--r-- | documentation/porting_guidelines.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/documentation/porting_guidelines.md b/documentation/porting_guidelines.md index 6cb7880d..702df73b 100644 --- a/documentation/porting_guidelines.md +++ b/documentation/porting_guidelines.md @@ -167,9 +167,10 @@ could look like this: #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), \ +#define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \ CORE_MMU_DEVICE_SIZE) -#define CFG_TA_RAM_SIZE (16 * 1024 * 1024) +#define TA_RAM_SIZE (16 * 1024 * 1024) + #endif /* PLATFORM_CONFIG_H */ ``` This is minimal amount of information in the `platform_config.h` file. I.e, the |