summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-11-08 23:18:24 +0000
committerStefano Babic <sbabic@denx.de>2011-11-11 11:36:58 +0100
commit3a4ce8335b89af37647d26f44d6eb476ce995fbb (patch)
tree6e6196b27e8b0e39a913a1d0e1be10104437c116 /include
parent22fe68fbdc6baf4d55782fd9803e6133c49b533d (diff)
downloadu-boot-imx-3a4ce8335b89af37647d26f44d6eb476ce995fbb.zip
u-boot-imx-3a4ce8335b89af37647d26f44d6eb476ce995fbb.tar.gz
u-boot-imx-3a4ce8335b89af37647d26f44d6eb476ce995fbb.tar.bz2
M28: Add memory detection into SPL
This code allows the DDR DRAM size to be detected at runtime. The RAM size is stored into two scratch registers, from which it is then fetched in U-Boot. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/m28evk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index 381b01e..c8b0cf5 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -81,7 +81,7 @@
*/
#define CONFIG_NR_DRAM_BANKS 1 /* 2 banks of DRAM */
#define PHYS_SDRAM_1 0x40000000 /* Base address */
-#define PHYS_SDRAM_1_SIZE 0x08000000 /* 128 MB */
+#define PHYS_SDRAM_1_SIZE 0x40000000 /* Max 1 GB 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 */