ARM: imx: dh-imx6: Convert SPI support to DM

Enable DM SPI and SF support on DHCOM iMX6 PDK2.
Convert board code to match the DM support.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Ludwig Zenz <lzenz@dh-electronics.com>
Cc: Stefano Babic <sbabic@denx.de>
This commit is contained in:
Marek Vasut
2019-05-17 16:58:54 +02:00
committed by Stefano Babic
parent 9352c629b0
commit cc48c2a5cf
3 changed files with 9 additions and 10 deletions

View File

@@ -66,6 +66,11 @@
#define CONFIG_LBA48
/* SPI Flash Configs */
#if defined(CONFIG_SPL_BUILD)
#undef CONFIG_DM_SPI
#undef CONFIG_DM_SPI_FLASH
#undef CONFIG_SPI_FLASH_MTD
#endif
/* UART */
#define CONFIG_MXC_UART