[PATCH 8/8] ARM: embestmx6boards: convert the mars/riot boards to DM SPI

Peter Robinson pbrobinson at gmail.com
Fri Apr 2 16:52:33 CEST 2021


Enable DM_SPI and DM_SPI_FLASH on the mars/riot boards.

Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
Cc: "Eric Bénard" <eric at eukrea.com>
Cc: Fabio Estevam <fabio.estevam at nxp.com>
Cc: Stefano Babic <sbabic at denx.de>
---
 configs/marsboard_defconfig | 2 ++
 configs/riotboard_defconfig | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/configs/marsboard_defconfig b/configs/marsboard_defconfig
index 2759c291da..551d09bece 100644
--- a/configs/marsboard_defconfig
+++ b/configs/marsboard_defconfig
@@ -34,6 +34,7 @@ CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SF_DEFAULT_MODE=0
 CONFIG_SF_DEFAULT_SPEED=20000000
@@ -45,6 +46,7 @@ CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_MXC_UART=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_MXC_SPI=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
diff --git a/configs/riotboard_defconfig b/configs/riotboard_defconfig
index 12af407400..d41b4ba070 100644
--- a/configs/riotboard_defconfig
+++ b/configs/riotboard_defconfig
@@ -46,6 +46,7 @@ CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
+CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SF_DEFAULT_MODE=0
 CONFIG_SF_DEFAULT_SPEED=20000000
@@ -57,6 +58,7 @@ CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_MXC_UART=y
 CONFIG_SPI=y
+CONFIG_DM_SPI=y
 CONFIG_MXC_SPI=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_THERMAL=y
-- 
2.31.1



More information about the U-Boot mailing list