diff options
author | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2018-06-13 20:09:01 +0800 |
---|---|---|
committer | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2018-06-13 20:12:32 +0800 |
commit | 7cdc59ca3636de94c15293010a7f34c2c8400476 (patch) | |
tree | 8a9263ddb1fb49aa1828abdc1456336c6e543d50 | |
parent | e77020396508fc086d7a4d6137388b116e4a662f (diff) |
plat-rpi3: Modify addresses to work with upstream A-T-F.linaro-20180705-001
The upstream arm-trusted-firmware reserves 0x10100000-0x10300000 for
secure DRAM. Change the address according to the upstream A-T-F.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
-rw-r--r-- | core/arch/arm/plat-rpi3/platform_config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/arch/arm/plat-rpi3/platform_config.h b/core/arch/arm/plat-rpi3/platform_config.h index bff1379b..5e3e37a8 100644 --- a/core/arch/arm/plat-rpi3/platform_config.h +++ b/core/arch/arm/plat-rpi3/platform_config.h @@ -70,12 +70,12 @@ #define TEE_SHMEM_START (0x08000000) #define TEE_SHMEM_SIZE (4 * 1024 * 1024) -#define TZDRAM_BASE (TEE_SHMEM_START + TEE_SHMEM_SIZE) -#define TZDRAM_SIZE (32 * 1024 * 1024) +#define TZDRAM_BASE (0x10100000) +#define TZDRAM_SIZE (2 * 1024 * 1024) -#define TEE_RAM_VA_SIZE (4 * 1024 * 1024) +#define TEE_RAM_VA_SIZE (1 * 1024 * 1024) -#define TEE_LOAD_ADDR (TZDRAM_BASE + 0x20000) +#define TEE_LOAD_ADDR TZDRAM_BASE #define TEE_RAM_PH_SIZE TEE_RAM_VA_SIZE #define TEE_RAM_START TZDRAM_BASE @@ -83,6 +83,6 @@ #define TA_RAM_START ROUNDUP((TZDRAM_BASE + TEE_RAM_VA_SIZE), \ CORE_MMU_DEVICE_SIZE) -# define TA_RAM_SIZE (16 * 1024 * 1024) +# define TA_RAM_SIZE (1 * 1024 * 1024) #endif /* PLATFORM_CONFIG_H */ |