]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap-common/boot-common.c
omap_hsmmc: implement driver check for card detection
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap-common / boot-common.c
index 1c8b6177dd5f8912046222569ecf505a3dc27f86..793e82e95cd36620f5dbe5973e52ee62bb9050f4 100644 (file)
@@ -64,11 +64,11 @@ int board_mmc_init(bd_t *bis)
 {
        switch (spl_boot_device()) {
        case BOOT_DEVICE_MMC1:
-               omap_mmc_init(0, 0, 0);
+               omap_mmc_init(0, 0, 0, -1);
                break;
        case BOOT_DEVICE_MMC2:
        case BOOT_DEVICE_MMC2_2:
-               omap_mmc_init(1, 0, 0);
+               omap_mmc_init(1, 0, 0, -1);
                break;
        }
        return 0;