]> git.baikalelectronics.ru Git - uboot.git/commit
spi: Move DM_SPI_FLASH to Kconfig (for NXP's ls1043a)
authorLukasz Majewski <lukma@denx.de>
Thu, 4 Jun 2020 15:11:51 +0000 (23:11 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jun 2020 17:34:43 +0000 (13:34 -0400)
commit9addaa9e193dc371ed08961a27d7d7cbe8fdbbad
treea20aec6f93a66c153c2723bd5ee9864c3cdee428
parentb3d0a6cb52200350e227efd4fecb8e9775dae3d4
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>
arch/arm/Kconfig
include/configs/ls1043a_common.h