diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-15 11:56:33 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-07-16 15:56:42 +0100 |
commit | aa49bde8a3e8171fbe25751b4673624c80134f59 (patch) | |
tree | f9e4a90e32348fecaaf5a6572202c9f7463e07b0 /plat/rpi3 | |
parent | 97fb05e1ec49325272bb4086a6abb018a0d5eba4 (diff) | |
download | platform_external_arm-trusted-firmware-aa49bde8a3e8171fbe25751b4673624c80134f59.tar.gz platform_external_arm-trusted-firmware-aa49bde8a3e8171fbe25751b4673624c80134f59.tar.bz2 platform_external_arm-trusted-firmware-aa49bde8a3e8171fbe25751b4673624c80134f59.zip |
rpi3: Move NS-DRAM out of the protected region
The Non-secure DRAM region shouldn't be protected in the range specified
in the Linux command line with memmap.
This change also increases the size of the Secure DRAM region.
Change-Id: I306e9e443a84b834c99739f54a534a3ca3be2424
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'plat/rpi3')
-rw-r--r-- | plat/rpi3/include/platform_def.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plat/rpi3/include/platform_def.h b/plat/rpi3/include/platform_def.h index 52b06b4b8..4674bfb04 100644 --- a/plat/rpi3/include/platform_def.h +++ b/plat/rpi3/include/platform_def.h @@ -70,17 +70,17 @@ #define PLAT_RPI3_FIP_BASE ULL(0x00020000) #define PLAT_RPI3_FIP_MAX_SIZE ULL(0x001E0000) -/* We have 16M of memory reserved at at 256M */ +/* We have 16M of memory reserved starting at 256M */ #define SEC_SRAM_BASE ULL(0x10000000) #define SEC_SRAM_SIZE ULL(0x00100000) #define SEC_DRAM0_BASE ULL(0x10100000) -#define SEC_DRAM0_SIZE ULL(0x00B00000) - -#define NS_DRAM0_BASE ULL(0x10C00000) -#define NS_DRAM0_SIZE ULL(0x00400000) +#define SEC_DRAM0_SIZE ULL(0x00F00000) /* End of reserved memory */ +#define NS_DRAM0_BASE ULL(0x11000000) +#define NS_DRAM0_SIZE ULL(0x01000000) + /* * BL33 entrypoint. */ |