]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/at91-common/spl.c
arm: atmel: sama5d3: add spi spl boot support
[karo-tx-uboot.git] / arch / arm / cpu / at91-common / spl.c
index 37c0cc4be5ca308c42578e01f567c4ae1c0f04e2..2598e09959cd9e5d24a4d24ec38d9200944156e8 100644 (file)
@@ -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;
 }