mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
arm: socfpga: config: Exclude CONFIG_SPI_FLASH_MTD from SPL build
We do not need full MTD support in the SPL build, it only adds size and is not usable in any way. Exclude it. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
251faa2046
commit
cbc9544d27
1 changed files with 2 additions and 0 deletions
|
@ -197,7 +197,9 @@ unsigned int cm_get_l4_sp_clk_hz(void);
|
||||||
/* Enable multiple SPI NOR flash manufacturers */
|
/* Enable multiple SPI NOR flash manufacturers */
|
||||||
#define CONFIG_SPI_FLASH_STMICRO /* Micron/Numonyx flash */
|
#define CONFIG_SPI_FLASH_STMICRO /* Micron/Numonyx flash */
|
||||||
#define CONFIG_SPI_FLASH_SPANSION /* Spansion flash */
|
#define CONFIG_SPI_FLASH_SPANSION /* Spansion flash */
|
||||||
|
#ifndef CONFIG_SPL_BUILD
|
||||||
#define CONFIG_SPI_FLASH_MTD
|
#define CONFIG_SPI_FLASH_MTD
|
||||||
|
#endif
|
||||||
/* QSPI reference clock */
|
/* QSPI reference clock */
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
unsigned int cm_get_qspi_controller_clk_hz(void);
|
unsigned int cm_get_qspi_controller_clk_hz(void);
|
||||||
|
|
Loading…
Add table
Reference in a new issue