]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/socfpga/misc.c
arm: socfpga: Add socfpga_spim_enable() to reset_manager.c
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / socfpga / misc.c
index 8c3e5f7cd423c608ade2409fc233c0c706251b9d..73cffd3a8d6f13a3f1fe8c10de1675912de5ca62 100644 (file)
@@ -202,6 +202,12 @@ int arch_early_init_r(void)
 
        /* Add device descriptor to FPGA device table */
        socfpga_fpga_add();
+
+#ifdef CONFIG_DESIGNWARE_SPI
+       /* Get Designware SPI controller out of reset */
+       socfpga_spim_enable();
+#endif
+
        return 0;
 }