]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-at91/spl.c
spl: eMMC/SD: Provide one __weak spl_boot_mode() function
[people/ms/u-boot.git] / arch / arm / mach-at91 / spl.c
index 7e7e24bbe69d038d195d89616357dc02976d8a40..91add921c65d45e6cf5fc88672f48e0232f84d30 100644 (file)
@@ -87,18 +87,3 @@ u32 spl_boot_device(void)
        return BOOT_DEVICE_NONE;
 }
 #endif
-
-u32 spl_boot_mode(const u32 boot_device)
-{
-       switch (boot_device) {
-#if defined(CONFIG_SYS_USE_MMC) || defined(CONFIG_SD_BOOT)
-       case BOOT_DEVICE_MMC1:
-       case BOOT_DEVICE_MMC2:
-               return MMCSD_MODE_FS;
-               break;
-#endif
-       case BOOT_DEVICE_NONE:
-       default:
-               hang();
-       }
-}