[PATCH 2/3] mx23evk: Convert to CONFIG_DM_SERIAL

Fabio Estevam festevam at gmail.com
Tue Jul 11 23:09:02 CEST 2023


From: Fabio Estevam <festevam at denx.de>

The conversion to CONFIG_DM_SERIAL is mandatory, so select this option.

Signed-off-by: Fabio Estevam <festevam at denx.de>
---
 arch/arm/Kconfig              | 2 +-
 arch/arm/mach-imx/mxs/Kconfig | 1 +
 configs/mx23evk_defconfig     | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e00c9ee4543f..ac079da7527a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -912,7 +912,7 @@ config ARCH_MX23
 	select CPU_ARM926EJS
 	select GPIO_EXTRA_HEADER
 	select MACH_IMX
-	select PL011_SERIAL
+	select PL011_SERIAL if !TARGET_MX23EVK
 	select SUPPORT_SPL
 
 config ARCH_MX28
diff --git a/arch/arm/mach-imx/mxs/Kconfig b/arch/arm/mach-imx/mxs/Kconfig
index 0fd4758cc67c..6b9d5c956971 100644
--- a/arch/arm/mach-imx/mxs/Kconfig
+++ b/arch/arm/mach-imx/mxs/Kconfig
@@ -14,6 +14,7 @@ config TARGET_MX23_OLINUXINO
 
 config TARGET_MX23EVK
 	bool "Support mx23evk"
+	select PL01X_SERIAL
 	select BOARD_EARLY_INIT_F
 
 config TARGET_XFI3
diff --git a/configs/mx23evk_defconfig b/configs/mx23evk_defconfig
index 3602ead86358..7d0e7cc1e007 100644
--- a/configs/mx23evk_defconfig
+++ b/configs/mx23evk_defconfig
@@ -49,6 +49,7 @@ CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_CONS_INDEX=0
+CONFIG_DM_SERIAL=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
-- 
2.34.1



More information about the U-Boot mailing list