aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>2018-06-13 20:09:01 +0800
committerYing-Chun Liu (PaulLiu) <paulliu@debian.org>2018-07-12 00:09:21 +0800
commit79418b516aa1bedc042f633a9fec9ec9b9bd4f03 (patch)
treed1e73e569d0f08bf181e62ac7991608f1a51438d
parent5c54fb3ed45d765b8e50dd9ecdfa8c1fc81679c3 (diff)
plat-rpi3: Modify addresses to work with upstream A-T-F.linaro-20180723-001linaro-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.h10
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..a806b500 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 (11 * 1024 * 1024)
-#define TEE_RAM_VA_SIZE (4 * 1024 * 1024)
+#define TEE_RAM_VA_SIZE (3 * 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 (8 * 1024 * 1024)
#endif /* PLATFORM_CONFIG_H */