]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/omap-common/spl.c
dm: Move OMAP GPIO driver to drivers/gpio/
[u-boot] / arch / arm / cpu / armv7 / omap-common / spl.c
index 963acb077611760a9e63b34e096f0ef39d444317..4d1ac85d0091de429ccda8e341713ba0aa1c62e3 100644 (file)
@@ -124,7 +124,7 @@ static void __noreturn jump_to_image_linux(void *arg)
                __attribute__ ((noreturn));
        image_entry_arg_t image_entry =
                (image_entry_arg_t) spl_image.entry_point;
-       /* cleanup_before_linux(); */ /*write SPL function for that*/
+       cleanup_before_linux();
        image_entry(0, CONFIG_MACH_TYPE, arg);
 }
 #endif
@@ -162,6 +162,7 @@ void board_init_r(gd_t *id, ulong dummy)
 #ifdef CONFIG_SPL_MMC_SUPPORT
        case BOOT_DEVICE_MMC1:
        case BOOT_DEVICE_MMC2:
+       case BOOT_DEVICE_MMC2_2:
                spl_mmc_load_image();
                break;
 #endif