diff options
author | Ying-Chun Liu (PaulLiu) <paulliu@debian.org> | 2018-06-13 20:09:01 +0800 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2018-07-06 07:30:42 +0100 |
commit | e49799d64f1608950fde8d97e8bfde17ad98a547 (patch) | |
tree | 9f0040ae337a9eab83a3da21a002f85a53b1cc91 | |
parent | 53bf1c3873c417c20c5481a9760b1ff853f9ceaf (diff) |
plat-rpi3: Modify addresses to work with upstream A-T-F.linaro-20180706-001rmh-linaro-rpi3
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 */ |