From: Lukasz Majewski <lukma@denx.de>
Date: Fri, 19 May 2023 10:43:57 +0000 (+0200)
Subject: config: xea: Enable DM_SERIAL for the XEA (imx287 based) board
X-Git-Tag: v2025.01-rc5-pxa1908~946^2~74
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=de27953c2990944e539f503fa47281c2c72b53f6;p=u-boot.git

config: xea: Enable DM_SERIAL for the XEA (imx287 based) board

The XEA board now supports the DM_SERIAL feature in u-boot.

The SPL is using the SPL_OF_PLATDATA - i.e. NOT SPL_DM_SERIAL to
reduce the overall size of the SPL binary.

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

diff --git a/configs/imx28_xea_defconfig b/configs/imx28_xea_defconfig
index 10be4af992..c6c6a03245 100644
--- a/configs/imx28_xea_defconfig
+++ b/configs/imx28_xea_defconfig
@@ -116,7 +116,8 @@ CONFIG_PINCTRL_MXS=y
 CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
-CONFIG_CONS_INDEX=0
+CONFIG_SPECIFY_CONSOLE_INDEX=y
+CONFIG_DM_SERIAL=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MXS_SPI=y