arm: atmel: sama5d3: add spi spl boot support
[karo-tx-uboot.git] / board / atmel / sama5d3xek / sama5d3xek.c
index eff94a4..8a214de 100644 (file)
@@ -307,6 +307,8 @@ void spl_board_init(void)
 {
 #ifdef CONFIG_SYS_USE_MMC
        sama5d3xek_mci_hw_init();
+#elif CONFIG_SYS_USE_SERIALFLASH
+       at91_spi0_hw_init(1 << 0);
 #endif
 }