]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/at91-common/spl.c
sunxi: add sun7i dram setup support
[karo-tx-uboot.git] / arch / arm / cpu / at91-common / spl.c
index 37c0cc4be5ca308c42578e01f567c4ae1c0f04e2..7f4debb912597d5a251cfa095b0309497b2528b0 100644 (file)
@@ -52,6 +52,10 @@ u32 spl_boot_device(void)
 {
 #ifdef CONFIG_SYS_USE_MMC
        return BOOT_DEVICE_MMC1;
+#elif CONFIG_SYS_USE_NANDFLASH
+       return BOOT_DEVICE_NAND;
+#elif CONFIG_SYS_USE_SERIALFLASH
+       return BOOT_DEVICE_SPI;
 #endif
        return BOOT_DEVICE_NONE;
 }