2014-09-08 21:29:09 +02:00
|
|
|
Index: arch/arm/cpu/armv7/omap3/board.c
|
|
|
|
===================================================================
|
|
|
|
--- arch/arm/cpu/armv7/omap3/board.c.orig
|
|
|
|
+++ arch/arm/cpu/armv7/omap3/board.c
|
|
|
|
@@ -61,6 +61,8 @@ u32 omap3_boot_device = BOOT_DEVICE_NAND
|
|
|
|
/* auto boot mode detection is not possible for OMAP3 - hard code */
|
|
|
|
u32 spl_boot_mode(void)
|
|
|
|
{
|
2014-10-09 12:52:19 +02:00
|
|
|
+ return MMCSD_MODE_FS;
|
2014-09-08 21:29:09 +02:00
|
|
|
+
|
|
|
|
switch (spl_boot_device()) {
|
|
|
|
case BOOT_DEVICE_MMC2:
|
|
|
|
return MMCSD_MODE_RAW;
|
|
|
|
|
|
|
|
Index: common/spl/spl_mmc.c.orig
|
|
|
|
===================================================================
|
|
|
|
--- common/spl/spl_mmc.c.orig 2014-08-06 15:12:58.000000000 +0200
|
|
|
|
+++ common/spl/spl_mmc.c 2014-08-21 10:38:25.144053170 +0200
|
|
|
|
@@ -92,7 +92,9 @@ void spl_mmc_load_image(void)
|
|
|
|
hang();
|
|
|
|
}
|
|
|
|
|
|
|
|
- boot_mode = spl_boot_mode();
|
|
|
|
+// boot_mode = spl_boot_mode();
|
2014-10-09 12:52:19 +02:00
|
|
|
+ boot_mode = MMCSD_MODE_FS; /* Fix OMAP4 boot */
|
2014-09-08 21:29:09 +02:00
|
|
|
+
|
|
|
|
if (boot_mode == MMCSD_MODE_RAW) {
|
|
|
|
debug("boot mode - RAW\n");
|
|
|
|
#ifdef CONFIG_SPL_OS_BOOT
|