summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-v2012.04.01/0022-M28-Scan-only-first-512-MB-of-DRAM-to-avoid-memory-w.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-v2012.04.01/0022-M28-Scan-only-first-512-MB-of-DRAM-to-avoid-memory-w.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot-v2012.04.01/0022-M28-Scan-only-first-512-MB-of-DRAM-to-avoid-memory-w.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-v2012.04.01/0022-M28-Scan-only-first-512-MB-of-DRAM-to-avoid-memory-w.patch b/recipes-bsp/u-boot/u-boot-v2012.04.01/0022-M28-Scan-only-first-512-MB-of-DRAM-to-avoid-memory-w.patch
new file mode 100644
index 0000000..1176aea
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot-v2012.04.01/0022-M28-Scan-only-first-512-MB-of-DRAM-to-avoid-memory-w.patch
@@ -0,0 +1,31 @@
1From 0ab1b7fdcbe4fe014ae05f6a803d2ac84f98bd43 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Thu, 3 May 2012 05:47:19 +0000
4Subject: [PATCH 22/56] M28: Scan only first 512 MB of DRAM to avoid memory
5 wraparound
6
7Signed-off-by: Marek Vasut <marex@denx.de>
8Cc: Wolfgang Denk <wd@denx.de>
9Cc: Detlev Zundel <dzu@denx.de>
10Cc: Stefano Babic <sbabic@denx.de>
11Cc: Fabio Estevam <festevam@gmail.com>
12---
13 include/configs/m28evk.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
17index 40845d3..8cd5f31 100644
18--- a/include/configs/m28evk.h
19+++ b/include/configs/m28evk.h
20@@ -86,7 +86,7 @@
21 */
22 #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */
23 #define PHYS_SDRAM_1 0x40000000 /* Base address */
24-#define PHYS_SDRAM_1_SIZE 0x40000000 /* Max 1 GB RAM */
25+#define PHYS_SDRAM_1_SIZE 0x20000000 /* Max 512 MB RAM */
26 #define CONFIG_STACKSIZE 0x00010000 /* 128 KB stack */
27 #define CONFIG_SYS_MALLOC_LEN 0x00400000 /* 4 MB for malloc */
28 #define CONFIG_SYS_GBL_DATA_SIZE 128 /* Initial data */
29--
301.7.10
31