summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <festevam@denx.de>2023-07-11 18:09:02 -0300
committerStefano Babic <sbabic@denx.de>2023-07-13 11:29:41 +0200
commit9a38d889a1209472aa7736e6b219f69e970dc1fc (patch)
tree5e087ea1d2ef7f44046cc689bc56968c90aa807a
parent68bad63ee0e4ec532d698c775da599c9b260cbef (diff)
mx23evk: Convert to CONFIG_DM_SERIAL
The conversion to CONFIG_DM_SERIAL is mandatory, so select this option. Signed-off-by: Fabio Estevam <festevam@denx.de>
-rw-r--r--arch/arm/Kconfig2
-rw-r--r--arch/arm/mach-imx/mxs/Kconfig1
-rw-r--r--configs/mx23evk_defconfig1
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e00c9ee4543..ac079da7527 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 0fd4758cc67..6b9d5c95697 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 3602ead8635..7d0e7cc1e00 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