diff options
author | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2019-03-20 08:13:13 +0800 |
---|---|---|
committer | Jerome Forissier <jerome.forissier@linaro.org> | 2019-04-11 15:12:45 +0200 |
commit | 4e7f52fc5c54b2c62c4219b0830a1d484410aea7 (patch) | |
tree | 892322a7033e8ea844ce53e274039c902478cf42 /core/arch/arm/plat-rpi3/platform_config.h | |
parent | 10e4668773b515ee5731d59edfc54f75e78c61d0 (diff) |
plat-rpi3: Use generic memory layout
plat-rpi3 have quite standard memory layout, so there is no sense
to maintain separate configuration if it possible to use generic
one.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Diffstat (limited to 'core/arch/arm/plat-rpi3/platform_config.h')
-rw-r--r-- | core/arch/arm/plat-rpi3/platform_config.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/core/arch/arm/plat-rpi3/platform_config.h b/core/arch/arm/plat-rpi3/platform_config.h index bfa0aadb..dfb9e292 100644 --- a/core/arch/arm/plat-rpi3/platform_config.h +++ b/core/arch/arm/plat-rpi3/platform_config.h @@ -29,6 +29,8 @@ #ifndef PLATFORM_CONFIG_H #define PLATFORM_CONFIG_H +#include <mm/generic_ram_layout.h> + /* Make stacks aligned to data cache line length */ #define STACK_ALIGNMENT 64 @@ -66,23 +68,4 @@ #define DRAM0_BASE 0x00000000 #define DRAM0_SIZE 0x40000000 -/* Below ARM-TF */ -#define TEE_SHMEM_START (0x08000000) -#define TEE_SHMEM_SIZE (4 * 1024 * 1024) - -#define TZDRAM_BASE (0x10100000) -#define TZDRAM_SIZE (15 * 1024 * 1024) - -#define TEE_RAM_VA_SIZE (7 * 1024 * 1024) - -#define TEE_LOAD_ADDR TZDRAM_BASE - -#define TEE_RAM_PH_SIZE TEE_RAM_VA_SIZE -#define TEE_RAM_START TZDRAM_BASE - -#define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \ - CORE_MMU_PGDIR_SIZE) - -# define TA_RAM_SIZE (8 * 1024 * 1024) - #endif /* PLATFORM_CONFIG_H */ |