M28: Scan only first 512 MB of DRAM to avoid memory wraparound
authorMarek Vasut <[email protected]>
Thu, 3 May 2012 05:47:19 +0000 (05:47 +0000)
committerAlbert ARIBAUD <[email protected]>
Tue, 15 May 2012 06:31:32 +0000 (08:31 +0200)
Signed-off-by: Marek Vasut <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Detlev Zundel <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
include/configs/m28evk.h

index 40845d3e7323848d6c28599f072ca36d5a9bb541..8cd5f31c8578da092c2b6e49dd437b424b3acf23 100644 (file)
@@ -86,7 +86,7 @@
  */
 #define        CONFIG_NR_DRAM_BANKS            1               /* 1 bank of DRAM */
 #define        PHYS_SDRAM_1                    0x40000000      /* Base address */
-#define        PHYS_SDRAM_1_SIZE               0x40000000      /* Max 1 GB RAM */
+#define        PHYS_SDRAM_1_SIZE               0x20000000      /* Max 512 MB RAM */
 #define        CONFIG_STACKSIZE                0x00010000      /* 128 KB stack */
 #define        CONFIG_SYS_MALLOC_LEN           0x00400000      /* 4 MB for malloc */
 #define        CONFIG_SYS_GBL_DATA_SIZE        128             /* Initial data */