]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-at91/spl.c
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[u-boot] / arch / arm / mach-at91 / spl.c
index f255b59195e6da69e704192d65308143fd637b2b..98f280cbf7732c460d291a1da0e64be08ecd57f0 100644 (file)
@@ -75,9 +75,9 @@ u32 spl_boot_device(void)
 }
 #endif
 
-u32 spl_boot_mode(void)
+u32 spl_boot_mode(const u32 boot_device)
 {
-       switch (spl_boot_device()) {
+       switch (boot_device) {
 #ifdef CONFIG_SYS_USE_MMC
        case BOOT_DEVICE_MMC1:
        case BOOT_DEVICE_MMC2: