]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/socfpga_common.h
arm: socfpga: config: Exclude CONFIG_SPI_FLASH_MTD from SPL build
[karo-tx-uboot.git] / include / configs / socfpga_common.h
index b5d69d70b10846a25528d5044d67742770116428..24f2ec01b1ada9e4a8ce1bf7891274ddbc48b12a 100644 (file)
@@ -197,7 +197,9 @@ unsigned int cm_get_l4_sp_clk_hz(void);
 /* Enable multiple SPI NOR flash manufacturers */
 #define CONFIG_SPI_FLASH_STMICRO       /* Micron/Numonyx flash */
 #define CONFIG_SPI_FLASH_SPANSION      /* Spansion flash */
+#ifndef CONFIG_SPL_BUILD
 #define CONFIG_SPI_FLASH_MTD
+#endif
 /* QSPI reference clock */
 #ifndef __ASSEMBLY__
 unsigned int cm_get_qspi_controller_clk_hz(void);