diff options
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-2012.04.01/0056-mx28evk-Scan-only-first-128MB-of-DRAM-to-avoid-memor.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-2012.04.01/0056-mx28evk-Scan-only-first-128MB-of-DRAM-to-avoid-memor.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2012.04.01/0056-mx28evk-Scan-only-first-128MB-of-DRAM-to-avoid-memor.patch b/recipes-bsp/u-boot/u-boot-2012.04.01/0056-mx28evk-Scan-only-first-128MB-of-DRAM-to-avoid-memor.patch new file mode 100644 index 0000000..b3946a1 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-2012.04.01/0056-mx28evk-Scan-only-first-128MB-of-DRAM-to-avoid-memor.patch | |||
@@ -0,0 +1,32 @@ | |||
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 | ||
5 | wraparound | ||
6 | |||
7 | Scan only first 128MB of DRAM to avoid memory wraparound. | ||
8 | |||
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) | ||
11 | |||
12 | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> | ||
13 | --- | ||
14 | include/configs/mx28evk.h | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
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 | ||
21 | @@ -75,7 +75,7 @@ | ||
22 | */ | ||
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 */ | ||
30 | -- | ||
31 | 1.7.10 | ||
32 | |||