Skip to contentSkip to conversation

mx28evk: Convert to CONFIG_DM_SERIAL

PATCH New Fabio Estevam 2 participants 6 messages Jul 11, 2023 – Jul 12, 2023

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/3 mx28evk: Convert to CONFIG_DM_SERIAL

From: Fabio Estevam <[email protected]>

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

---
 arch/arm/Kconfig              | 1 -
 arch/arm/mach-imx/mxs/Kconfig | 1 +
 configs/mx28evk_defconfig     | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/Kconfig +0 -1
index 17d69d272622..e00c9ee4543f 100644
@@ -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
 
arch/arm/mach-imx/mxs/Kconfig +1 -0
index b4a281e82d41..0fd4758cc67c 100644
@@ -41,6 +41,7 @@ choice
 
 config TARGET_MX28EVK
 	bool "Support mx28evk"
+	select PL01X_SERIAL
 	select BOARD_EARLY_INIT_F
 
 config TARGET_XEA
configs/mx28evk_defconfig +1 -1
index dad8839a6c10..df0cceaea719 100644
@@ -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
Signature · 1 line
2.34.1
author reviewer
#1 lore raw

PATCH 2/3 mx23evk: Convert to CONFIG_DM_SERIAL

From: Fabio Estevam <[email protected]>

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

---
 arch/arm/Kconfig              | 2 +-
 arch/arm/mach-imx/mxs/Kconfig | 1 +
 configs/mx23evk_defconfig     | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)
arch/arm/Kconfig +1 -1
index e00c9ee4543f..ac079da7527a 100644
@@ -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
arch/arm/mach-imx/mxs/Kconfig +1 -0
index 0fd4758cc67c..6b9d5c956971 100644
@@ -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
configs/mx23evk_defconfig +1 -0
index 3602ead86358..7d0e7cc1e007 100644
@@ -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
Signature · 1 line
2.34.1
author reviewer
#3 lore raw

PATCH 3/3 mx23_olinuxino: Convert to CONFIG_DM_SERIAL

In reply to Fabio Estevam

From: Fabio Estevam <[email protected]>

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

---
 arch/arm/Kconfig                 | 1 -
 arch/arm/mach-imx/mxs/Kconfig    | 1 +
 configs/mx23_olinuxino_defconfig | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/Kconfig +0 -1
index ac079da7527a..b3115b054c8c 100644
@@ -912,7 +912,6 @@ config ARCH_MX23
 	select CPU_ARM926EJS
 	select GPIO_EXTRA_HEADER
 	select MACH_IMX
-	select PL011_SERIAL if !TARGET_MX23EVK
 	select SUPPORT_SPL
 
 config ARCH_MX28
arch/arm/mach-imx/mxs/Kconfig +1 -0
index 6b9d5c956971..d3233d8d14f3 100644
@@ -10,6 +10,7 @@ choice
 
 config TARGET_MX23_OLINUXINO
 	bool "Support mx23_olinuxino"
+	select PL01X_SERIAL
 	select BOARD_EARLY_INIT_F
 
 config TARGET_MX23EVK
configs/mx23_olinuxino_defconfig +1 -0
index 89b69fb32366..24968e18710f 100644
@@ -50,6 +50,7 @@ CONFIG_LED_STATUS_BOOT=0
 CONFIG_LED_STATUS_CMD=y
 CONFIG_MMC_MXS=y
 CONFIG_CONS_INDEX=0
+CONFIG_DM_SERIAL=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_HOST_ETHER=y
Signature · 1 line
2.34.1
#4 lore raw

PATCH 3/3 mx23_olinuxino: Convert to CONFIG_DM_SERIAL

Quoted 3 lines

From: Fabio Estevam <[email protected]>
The conversion to CONFIG_DM_SERIAL is mandatory, so select this option.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: [email protected]
=====================================================================
#2 lore raw

PATCH 2/3 mx23evk: Convert to CONFIG_DM_SERIAL

In reply to Fabio Estevam
Quoted 3 lines

From: Fabio Estevam <[email protected]>
The conversion to CONFIG_DM_SERIAL is mandatory, so select this option.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: [email protected]
=====================================================================
#5 lore raw

PATCH 1/3 mx28evk: Convert to CONFIG_DM_SERIAL

In reply to Fabio Estevam
Quoted 3 lines

From: Fabio Estevam <[email protected]>
The conversion to CONFIG_DM_SERIAL is mandatory, so select this option.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: [email protected]
=====================================================================