summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/spl.c')
-rw-r--r--arch/arm/mach-at91/spl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c
index f255b59195..98f280cbf7 100644
--- a/arch/arm/mach-at91/spl.c
+++ b/arch/arm/mach-at91/spl.c
@@ -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:
OpenPOWER on IntegriCloud