summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot/0001-OMAP3-Beagle-enable-support-for-second-and-third-m.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot/0001-OMAP3-Beagle-enable-support-for-second-and-third-m.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot/0001-OMAP3-Beagle-enable-support-for-second-and-third-m.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot/0001-OMAP3-Beagle-enable-support-for-second-and-third-m.patch b/recipes-bsp/u-boot/u-boot/0001-OMAP3-Beagle-enable-support-for-second-and-third-m.patch
new file mode 100644
index 00000000..21f1f13e
--- /dev/null
+++ b/recipes-bsp/u-boot/u-boot/0001-OMAP3-Beagle-enable-support-for-second-and-third-m.patch
@@ -0,0 +1,56 @@
1From 629a01965677e680ffa1fe76579ace7f69dd45b9 Mon Sep 17 00:00:00 2001
2From: Steve Sakoman <steve@sakoman.com>
3Date: Fri, 7 May 2010 07:40:26 -0700
4Subject: [PATCH] OMAP3: Beagle: enable support for second and third mmc channels
5
6Based on 629a01965677e680ffa1fe76579ace7f69dd45b9, but removed BOOTDELAY change.
7
8---
9 include/configs/omap3_beagle.h | 8 +++++---
10 1 files changed, 5 insertions(+), 3 deletions(-)
11
12diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
13index f2d0f53..74d4159 100644
14--- a/include/configs/omap3_beagle.h
15+++ b/include/configs/omap3_beagle.h
16@@ -95,6 +95,7 @@
17 115200}
18 #define CONFIG_MMC 1
19 #define CONFIG_OMAP3_MMC 1
20+#define CONFIG_SYS_MMC_SET_DEV 1
21 #define CONFIG_DOS_PARTITION 1
22
23 /* DDR - I use Micron DDR */
24@@ -186,6 +187,7 @@
25 "vram=12M\0" \
26 "dvimode=1024x768MR-16@60\0" \
27 "defaultdisplay=dvi\0" \
28+ "mmcdev=1\0" \
29 "mmcroot=/dev/mmcblk0p2 rw\0" \
30 "mmcrootfstype=ext3 rootwait\0" \
31 "nandroot=/dev/mtdblock4 rw\0" \
32@@ -204,10 +206,10 @@
33 "omapdss.def_disp=${defaultdisplay} " \
34 "root=${nandroot} " \
35 "rootfstype=${nandrootfstype}\0" \
36- "loadbootscript=fatload mmc 0 ${loadaddr} boot.scr\0" \
37+ "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
38 "bootscript=echo Running bootscript from mmc ...; " \
39 "source ${loadaddr}\0" \
40- "loaduimage=fatload mmc 0 ${loadaddr} uImage\0" \
41+ "loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
42 "mmcboot=echo Booting from mmc ...; " \
43 "run mmcargs; " \
44 "bootm ${loadaddr}\0" \
45@@ -217,7 +219,7 @@
46 "bootm ${loadaddr}\0" \
47
48 #define CONFIG_BOOTCOMMAND \
49- "if mmc init; then " \
50+ "if mmc init ${mmcdev}; then " \
51 "if run loadbootscript; then " \
52 "run bootscript; " \
53 "else " \
54--
551.5.6.4
56