diff mbox series

[v1,14/16] arm: Kconfig: Switch XEA (imx287 based) board to use CONFIG_PL01X_SERIAL

Message ID 20230519104359.2048821-15-lukma@denx.de
State Accepted
Commit 474c0866514677d40594490d250bc6266319bb6c
Delegated to: Stefano Babic
Headers show
Series arm: xea: Update i.MX28 XEA board to use DM_SERIAL | expand

Commit Message

Lukasz Majewski May 19, 2023, 10:43 a.m. UTC
The CONFIG_PL011 used by all other ARCH_MX28 based boards is not
supporting DM_SERIAL. Instead, other define - namely CONFIG_PL01X_SERIAL
shall be used by boards supporting DM_SERIAL.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
---

 arch/arm/Kconfig              | 2 +-
 arch/arm/mach-imx/mxs/Kconfig | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Stefano Babic July 11, 2023, 7:47 p.m. UTC | #1
> The CONFIG_PL011 used by all other ARCH_MX28 based boards is not
> supporting DM_SERIAL. Instead, other define - namely CONFIG_PL01X_SERIAL
> shall be used by boards supporting DM_SERIAL.
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 99264a6478..4604d41410 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -919,7 +919,7 @@  config ARCH_MX28
 	bool "NXP i.MX28 family"
 	select CPU_ARM926EJS
 	select GPIO_EXTRA_HEADER
-	select PL011_SERIAL
+	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 b2026a3758..ded16aac46 100644
--- a/arch/arm/mach-imx/mxs/Kconfig
+++ b/arch/arm/mach-imx/mxs/Kconfig
@@ -45,6 +45,7 @@  config TARGET_MX28EVK
 
 config TARGET_XEA
 	bool "Support XEA"
+	select PL01X_SERIAL
 
 endchoice