From 4e7f52fc5c54b2c62c4219b0830a1d484410aea7 Mon Sep 17 00:00:00 2001 From: "Ying-Chun Liu (PaulLiu)" Date: Wed, 20 Mar 2019 08:13:13 +0800 Subject: 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) Acked-by: Etienne Carriere Acked-by: Bryan O'Donoghue --- core/arch/arm/plat-rpi3/platform_config.h | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'core/arch/arm/plat-rpi3/platform_config.h') 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 + /* 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 */ -- cgit v1.2.3