1 From 694d7164c05e3b785ac3c7055d0bd605bfc6a5ee Mon Sep 17 00:00:00 2001
2 From: Fabio Estevam <fabio.estevam@freescale.com>
3 Date: Sat, 12 May 2012 14:14:13 -0300
4 Subject: [PATCH 56/56] mx28evk: Scan only first 128MB of DRAM to avoid memory
7 Scan only first 128MB of DRAM to avoid memory wraparound.
9 This fixes mx28evk boot and it follows the same idea of commit
10 19a2066b57 (M28: Scan only first 512 MB of DRAM to avoid memory wraparound)
12 Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
14 include/configs/mx28evk.h | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
18 index 0c18e50..41037fc 100644
19 --- a/include/configs/mx28evk.h
20 +++ b/include/configs/mx28evk.h
23 #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
24 #define PHYS_SDRAM_1 0x40000000 /* Base address */
25 -#define PHYS_SDRAM_1_SIZE 0x40000000 /* Max 1 GB RAM */
26 +#define PHYS_SDRAM_1_SIZE 0x08000000 /* 128MB RAM */
27 #define CONFIG_STACKSIZE (128 * 1024) /* 128 KB stack */
28 #define CONFIG_SYS_MALLOC_LEN 0x00400000 /* 4 MB for malloc */
29 #define CONFIG_SYS_MEMTEST_START 0x40000000 /* Memtest start adr */