Linux needs to test with more memory. This will probably not run
with previous PEEP designs. Conditional compilation was added to
deal with that.
ldr r2, =0x00020022
str r2, [r1]
+#if (XPAR_MEMORY_MB_SIZE == 256)
+/*
+ * starting with PEEP8 designs, there is 256 MB
+ */
+ ldr r1, =(XPSS_DDR_CTRL_BASEADDR + 0x3C)
+ ldr r2, =0x00000F88
+ str r2, [r1]
+
+ ldr r1, =(XPSS_DDR_CTRL_BASEADDR + 0x40)
+ ldr r2, =0xFF000000
+ str r2, [r1]
+
+ ldr r1, =(XPSS_DDR_CTRL_BASEADDR + 0x44)
+ ldr r2, =0x0FF33333
+ str r2, [r1]
+#endif
+
ldr r1, =(XPSS_DDR_CTRL_BASEADDR + 0x50)
ldr r2, =0x00000256
str r2, [r1]
#define XPAR_DDR2_SDRAM_MEM_BASEADDR 0x00000000
#define XPAR_DDR2_SDRAM_MEM_HIGHADDR 0x00FFFFFF
+/* starting with PEEP8 designs, there is 256 MB of DDR */
+
+#define RTL_45
+#ifdef RTL_45
+#define XPAR_MEMORY_MB_SIZE 256
+#else
+#define XPAR_MEMORY_MB_SIZE 128
+#endif
+
/* SCU Timer */
#define XPAR_SCUTIMER_NUM_INSTANCES 1
#define XPAR_SCUTIMER_DEVICE_ID 0