summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/at91-common/spl.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/at91-common/spl.c')
-rw-r--r--arch/arm/cpu/at91-common/spl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/at91-common/spl.c b/arch/arm/cpu/at91-common/spl.c
index 37c0cc4..2598e09 100644
--- a/arch/arm/cpu/at91-common/spl.c
+++ b/arch/arm/cpu/at91-common/spl.c
@@ -52,6 +52,8 @@ u32 spl_boot_device(void)
{
#ifdef CONFIG_SYS_USE_MMC
return BOOT_DEVICE_MMC1;
+#elif CONFIG_SYS_USE_SERIALFLASH
+ return BOOT_DEVICE_SPI;
#endif
return BOOT_DEVICE_NONE;
}