diff options
author | Lukasz Majewski <lukma@denx.de> | 2020-06-04 23:11:51 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-29 13:34:43 -0400 |
commit | 044a66cb83a7cff9799a4b2b1815b604f1781dc0 (patch) | |
tree | a20aec6f93a66c153c2723bd5ee9864c3cdee428 /arch | |
parent | 582b4f7f394da21fcb96a56e29dd68115a746b44 (diff) | |
download | u-boot-044a66cb83a7cff9799a4b2b1815b604f1781dc0.zip u-boot-044a66cb83a7cff9799a4b2b1815b604f1781dc0.tar.gz u-boot-044a66cb83a7cff9799a4b2b1815b604f1781dc0.tar.bz2 |
spi: Move DM_SPI_FLASH to Kconfig (for NXP's ls1043a)
This patch fixes issue with defining the DM_SPI_FLASH in the
configs/include/<board.h> instead of enabling this option in Kconfig.
The problem is that CONFIG_IS_ENABLED(DM_SPI_FLASH) shows false as there
is no DM_SPI_FLASH=y in .config (but the define is set in u-boot.cfg).
As a result conversion of DM_SPI_FLASH to using CONFIG_IS_ENABLED() is not
working properly.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 73a2731..714c81e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1510,6 +1510,8 @@ config TARGET_LS1043AQDS select BOARD_LATE_INIT select SUPPORT_SPL select FSL_DDR_INTERACTIVE if !SPL + select FSL_DSPI if !SPL_NO_DSPI + select DM_SPI_FLASH if FSL_DSPI imply SCSI imply SCSI_AHCI help @@ -1524,6 +1526,8 @@ config TARGET_LS1043ARDB select BOARD_EARLY_INIT_F select BOARD_LATE_INIT select SUPPORT_SPL + select FSL_DSPI if !SPL_NO_DSPI + select DM_SPI_FLASH if FSL_DSPI help Support for Freescale LS1043ARDB platform. |