[PATCHv5 2/3] spi: Move DM_SPI_FLASH and SPI_FLASH_DATAFLASH to Kconfig (for ls1021aXXX)

Tom Rini trini at konsulko.com
Tue Jun 30 17:16:53 CEST 2020


On Thu, Jun 04, 2020 at 11:11:52PM +0800, Zhiqiang Hou wrote:

> From: Lukasz Majewski <lukma at denx.de>
> 
> 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 at denx.de>
> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>

Applied to u-boot/next (and oops, the other parts of the series too),
thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200630/185a7487/attachment.sig>


More information about the U-Boot mailing list