]> git.baikalelectronics.ru Git - uboot.git/commit
spi: Move DM_SPI_FLASH and SPI_FLASH_DATAFLASH to Kconfig (for ls1021aXXX)
authorLukasz Majewski <lukma@denx.de>
Thu, 4 Jun 2020 15:11:52 +0000 (23:11 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jun 2020 17:34:43 +0000 (13:34 -0400)
commit630f0c3b7b47e104dc6721a14c38c1bfd0a3ab2c
tree16908165e841adefa0e68693bf07a7fdb67084ab
parent9addaa9e193dc371ed08961a27d7d7cbe8fdbbad
spi: Move DM_SPI_FLASH and SPI_FLASH_DATAFLASH to Kconfig (for ls1021aXXX)

This patch moves the CONFIG_DM_SPI_FLASH and CONFIG_SPI_FLASH_DATAFLASH
to be defined in Kconfig, not in board specific header file
(include/configs/<board>.h).

Before this change the CONFIG_DM_SPI_FLASH was not set in .config (so it
was not possible to use CONFIG_IS_ENABLED(DM_SPI_FLASH) in SPI DM/DTS
converted drivers), but it was set in u-boot.cfg file.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
arch/arm/Kconfig
include/configs/ls1021aiot.h
include/configs/ls1021aqds.h
include/configs/ls1021atwr.h