[PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL

2023-07-12 Thread sbabic
> From: Fabio Estevam 
> The conversion to CONFIG_DM_SERIAL is mandatory, so select this option. 
> Signed-off-by: Fabio Estevam 
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=
DENX Software Engineering GmbH,Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de
=


[PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL

2023-07-11 Thread Fabio Estevam
From: Fabio Estevam 

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

Signed-off-by: Fabio Estevam 
---
 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