]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/atmel/sama5d3xek/sama5d3xek.c
arm: atmel: sama5d3: add nand spl boot support
[karo-tx-uboot.git] / board / atmel / sama5d3xek / sama5d3xek.c
index 8a214de475a11d5b10eddfd5de144961caaaa643..c835c12d02d623777ab756c384bf8b948f6a7711 100644 (file)
@@ -307,6 +307,8 @@ void spl_board_init(void)
 {
 #ifdef CONFIG_SYS_USE_MMC
        sama5d3xek_mci_hw_init();
+#elif CONFIG_SYS_USE_NANDFLASH
+       sama5d3xek_nand_hw_init();
 #elif CONFIG_SYS_USE_SERIALFLASH
        at91_spi0_hw_init(1 << 0);
 #endif