public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL
@ 2023-07-11 21:09 Fabio Estevam
  2023-07-11 21:09 ` [PATCH 2/3] mx23evk: " Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fabio Estevam @ 2023-07-11 21:09 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] mx23evk: Convert to CONFIG_DM_SERIAL
  2023-07-11 21:09 [PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL Fabio Estevam
@ 2023-07-11 21:09 ` Fabio Estevam
  2023-07-12 13:40   ` sbabic
  2023-07-11 21:09 ` [PATCH 3/3] mx23_olinuxino: " Fabio Estevam
  2023-07-12 13:41 ` [PATCH 1/3] mx28evk: " sbabic
  2 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2023-07-11 21:09 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] mx23_olinuxino: Convert to CONFIG_DM_SERIAL
  2023-07-11 21:09 [PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL Fabio Estevam
  2023-07-11 21:09 ` [PATCH 2/3] mx23evk: " Fabio Estevam
@ 2023-07-11 21:09 ` Fabio Estevam
  2023-07-12 13:40   ` sbabic
  2023-07-12 13:41 ` [PATCH 1/3] mx28evk: " sbabic
  2 siblings, 1 reply; 6+ messages in thread
From: Fabio Estevam @ 2023-07-11 21:09 UTC (permalink / raw)
  To: sbabic; +Cc: u-boot, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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

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

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ac079da7527a..b3115b054c8c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -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
diff --git a/arch/arm/mach-imx/mxs/Kconfig b/arch/arm/mach-imx/mxs/Kconfig
index 6b9d5c956971..d3233d8d14f3 100644
--- a/arch/arm/mach-imx/mxs/Kconfig
+++ b/arch/arm/mach-imx/mxs/Kconfig
@@ -10,6 +10,7 @@ choice
 
 config TARGET_MX23_OLINUXINO
 	bool "Support mx23_olinuxino"
+	select PL01X_SERIAL
 	select BOARD_EARLY_INIT_F
 
 config TARGET_MX23EVK
diff --git a/configs/mx23_olinuxino_defconfig b/configs/mx23_olinuxino_defconfig
index 89b69fb32366..24968e18710f 100644
--- a/configs/mx23_olinuxino_defconfig
+++ b/configs/mx23_olinuxino_defconfig
@@ -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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] mx23_olinuxino: Convert to CONFIG_DM_SERIAL
  2023-07-11 21:09 ` [PATCH 3/3] mx23_olinuxino: " Fabio Estevam
@ 2023-07-12 13:40   ` sbabic
  0 siblings, 0 replies; 6+ messages in thread
From: sbabic @ 2023-07-12 13:40 UTC (permalink / raw)
  To: Fabio Estevam, u-boot

> From: Fabio Estevam <festevam@denx.de>
> The conversion to CONFIG_DM_SERIAL is mandatory, so select this option.
> Signed-off-by: Fabio Estevam <festevam@denx.de>
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: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/3] mx23evk: Convert to CONFIG_DM_SERIAL
  2023-07-11 21:09 ` [PATCH 2/3] mx23evk: " Fabio Estevam
@ 2023-07-12 13:40   ` sbabic
  0 siblings, 0 replies; 6+ messages in thread
From: sbabic @ 2023-07-12 13:40 UTC (permalink / raw)
  To: Fabio Estevam, u-boot

> From: Fabio Estevam <festevam@denx.de>
> The conversion to CONFIG_DM_SERIAL is mandatory, so select this option.
> Signed-off-by: Fabio Estevam <festevam@denx.de>
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: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL
  2023-07-11 21:09 [PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL Fabio Estevam
  2023-07-11 21:09 ` [PATCH 2/3] mx23evk: " Fabio Estevam
  2023-07-11 21:09 ` [PATCH 3/3] mx23_olinuxino: " Fabio Estevam
@ 2023-07-12 13:41 ` sbabic
  2 siblings, 0 replies; 6+ messages in thread
From: sbabic @ 2023-07-12 13:41 UTC (permalink / raw)
  To: Fabio Estevam, u-boot

> From: Fabio Estevam <festevam@denx.de>
> The conversion to CONFIG_DM_SERIAL is mandatory, so select this option. 
> Signed-off-by: Fabio Estevam <festevam@denx.de>
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: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-12 13:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 21:09 [PATCH 1/3] mx28evk: Convert to CONFIG_DM_SERIAL Fabio Estevam
2023-07-11 21:09 ` [PATCH 2/3] mx23evk: " Fabio Estevam
2023-07-12 13:40   ` sbabic
2023-07-11 21:09 ` [PATCH 3/3] mx23_olinuxino: " Fabio Estevam
2023-07-12 13:40   ` sbabic
2023-07-12 13:41 ` [PATCH 1/3] mx28evk: " sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox