[PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL
Fabio Estevam
festevam at gmail.com
Tue Jul 11 23:09:01 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 | 1 -
arch/arm/mach-imx/mxs/Kconfig | 1 +
configs/mx28evk_defconfig | 2 +-
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 17d69d272622..e00c9ee4543f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -919,7 +919,6 @@ config ARCH_MX28
bool "NXP i.MX28 family"
select CPU_ARM926EJS
select GPIO_EXTRA_HEADER
- select PL011_SERIAL if !TARGET_XEA
select MACH_IMX
select SUPPORT_SPL
diff --git a/arch/arm/mach-imx/mxs/Kconfig b/arch/arm/mach-imx/mxs/Kconfig
index b4a281e82d41..0fd4758cc67c 100644
--- a/arch/arm/mach-imx/mxs/Kconfig
+++ b/arch/arm/mach-imx/mxs/Kconfig
@@ -41,6 +41,7 @@ choice
config TARGET_MX28EVK
bool "Support mx28evk"
+ select PL01X_SERIAL
select BOARD_EARLY_INIT_F
config TARGET_XEA
diff --git a/configs/mx28evk_defconfig b/configs/mx28evk_defconfig
index dad8839a6c10..df0cceaea719 100644
--- a/configs/mx28evk_defconfig
+++ b/configs/mx28evk_defconfig
@@ -62,6 +62,6 @@ CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y
CONFIG_DM_REGULATOR_GPIO=y
CONFIG_RTC_MXS=y
-CONFIG_CONS_INDEX=0
+CONFIG_DM_SERIAL=y
CONFIG_SPI=y
CONFIG_USB=y
--
2.34.1
More information about the U-Boot
mailing list