]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/mach-socfpga/spl.c
spl: eMMC/SD: Provide one __weak spl_boot_mode() function
[people/ms/u-boot.git] / arch / arm / mach-socfpga / spl.c
index 71bae827a15b3b07df8594c82912da0db33d790b..9bf3b9a446a1840a6052684f35c755cc9c3b2ba5 100644 (file)
@@ -66,17 +66,6 @@ u32 spl_boot_device(void)
        }
 }
 
-#ifdef CONFIG_SPL_MMC_SUPPORT
-u32 spl_boot_mode(const u32 boot_device)
-{
-#if defined(CONFIG_SPL_FAT_SUPPORT) || defined(CONFIG_SPL_EXT_SUPPORT)
-       return MMCSD_MODE_FS;
-#else
-       return MMCSD_MODE_RAW;
-#endif
-}
-#endif
-
 #if defined(CONFIG_TARGET_SOCFPGA_GEN5)
 static void socfpga_nic301_slave_ns(void)
 {