]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap3/board.c
omap_hsmmc: implement driver check for card detection
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap3 / board.c
index 89c587e3108aca523f71a3f3823a2e220fb43c6a..f9f7aae776b8a71ad4369d4dfd364060c3c0a6f2 100644 (file)
@@ -98,11 +98,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;