From a7db74a4defe528050c396b53e0fad92bb910141 Mon Sep 17 00:00:00 2001
From: Fabio Estevam <festevam@denx.de>
Date: Tue, 3 Jan 2023 10:19:38 -0300
Subject: [PATCH] pico-imx7d: 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>
---
 configs/pico-dwarf-imx7d_defconfig  | 1 +
 configs/pico-hobbit-imx7d_defconfig | 1 +
 configs/pico-imx7d_bl33_defconfig   | 1 +
 configs/pico-imx7d_defconfig        | 1 +
 configs/pico-nymph-imx7d_defconfig  | 1 +
 configs/pico-pi-imx7d_defconfig     | 1 +
 6 files changed, 6 insertions(+)

diff --git a/configs/pico-dwarf-imx7d_defconfig b/configs/pico-dwarf-imx7d_defconfig
index 46777e04fd..2d84e0bbec 100644
--- a/configs/pico-dwarf-imx7d_defconfig
+++ b/configs/pico-dwarf-imx7d_defconfig
@@ -83,6 +83,7 @@ CONFIG_PINCTRL_IMX7=y
 CONFIG_POWER_LEGACY=y
 CONFIG_POWER_PFUZE3000=y
 CONFIG_POWER_I2C=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
diff --git a/configs/pico-hobbit-imx7d_defconfig b/configs/pico-hobbit-imx7d_defconfig
index fb354d1cde..143e7d0f84 100644
--- a/configs/pico-hobbit-imx7d_defconfig
+++ b/configs/pico-hobbit-imx7d_defconfig
@@ -83,6 +83,7 @@ CONFIG_PINCTRL_IMX7=y
 CONFIG_POWER_LEGACY=y
 CONFIG_POWER_PFUZE3000=y
 CONFIG_POWER_I2C=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
diff --git a/configs/pico-imx7d_bl33_defconfig b/configs/pico-imx7d_bl33_defconfig
index 35e6f1d549..2dcbb4352f 100644
--- a/configs/pico-imx7d_bl33_defconfig
+++ b/configs/pico-imx7d_bl33_defconfig
@@ -80,6 +80,7 @@ CONFIG_POWER_LEGACY=y
 CONFIG_POWER_PFUZE3000=y
 CONFIG_POWER_I2C=y
 CONFIG_CONS_INDEX=4
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
diff --git a/configs/pico-imx7d_defconfig b/configs/pico-imx7d_defconfig
index 13cc97bb73..1a818efe23 100644
--- a/configs/pico-imx7d_defconfig
+++ b/configs/pico-imx7d_defconfig
@@ -83,6 +83,7 @@ CONFIG_PINCTRL_IMX7=y
 CONFIG_POWER_LEGACY=y
 CONFIG_POWER_PFUZE3000=y
 CONFIG_POWER_I2C=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
diff --git a/configs/pico-nymph-imx7d_defconfig b/configs/pico-nymph-imx7d_defconfig
index 46777e04fd..2d84e0bbec 100644
--- a/configs/pico-nymph-imx7d_defconfig
+++ b/configs/pico-nymph-imx7d_defconfig
@@ -83,6 +83,7 @@ CONFIG_PINCTRL_IMX7=y
 CONFIG_POWER_LEGACY=y
 CONFIG_POWER_PFUZE3000=y
 CONFIG_POWER_I2C=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
diff --git a/configs/pico-pi-imx7d_defconfig b/configs/pico-pi-imx7d_defconfig
index 6e92366bef..5709fcfe64 100644
--- a/configs/pico-pi-imx7d_defconfig
+++ b/configs/pico-pi-imx7d_defconfig
@@ -83,6 +83,7 @@ CONFIG_PINCTRL_IMX7=y
 CONFIG_POWER_LEGACY=y
 CONFIG_POWER_PFUZE3000=y
 CONFIG_POWER_I2C=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
-- 
2.39.5