Commit 142ec043 authored by Soren Brinkmann's avatar Soren Brinkmann
Browse files

zynqmp: Reduce mapped memory area



The GIC area is specified larger than it needs to be and can be reduced.
Which allows reducing the structures required for the translation tables
as well.
This results in a reduction of memory footprint of ca. 4k.
Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent b96f77c6
...@@ -100,8 +100,12 @@ ...@@ -100,8 +100,12 @@
* Platform specific page table and MMU setup constants * Platform specific page table and MMU setup constants
******************************************************************************/ ******************************************************************************/
#define ADDR_SPACE_SIZE (1ull << 32) #define ADDR_SPACE_SIZE (1ull << 32)
#define MAX_XLAT_TABLES 5 #define MAX_MMAP_REGIONS 6
#define MAX_MMAP_REGIONS 7 #if IMAGE_BL32
# define MAX_XLAT_TABLES 5
#else
# define MAX_XLAT_TABLES 4
#endif
#define CACHE_WRITEBACK_SHIFT 6 #define CACHE_WRITEBACK_SHIFT 6
#define CACHE_WRITEBACK_GRANULE (1 << CACHE_WRITEBACK_SHIFT) #define CACHE_WRITEBACK_GRANULE (1 << CACHE_WRITEBACK_SHIFT)
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#define DEVICE0_BASE 0xFF000000 #define DEVICE0_BASE 0xFF000000
#define DEVICE0_SIZE 0x00E00000 #define DEVICE0_SIZE 0x00E00000
#define DEVICE1_BASE 0xF9000000 #define DEVICE1_BASE 0xF9000000
#define DEVICE1_SIZE 0x01000000 #define DEVICE1_SIZE 0x00800000
/* For cpu reset APU space here too 0xFE5F1000 CRF_APB*/ /* For cpu reset APU space here too 0xFE5F1000 CRF_APB*/
#define CRF_APB_BASE 0xFD1A0000 #define CRF_APB_BASE 0xFD1A0000
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment