imx: imx8mm_icore: Enable SPL_DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Sat, 11 Jun 2022 12:20:57 +0000 (20:20 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jun 2022 19:33:13 +0000 (21:33 +0200)
commit4ebb9a589852841c65ae68e2f3f3d160df40d55e
tree4f8871deedf557c8fb84d8b1bba9b51ea0e4f270
parent37750505b90ab762e9305d8e49fa4a7c6a24954d
imx: imx8mm_icore: Enable SPL_DM_SERIAL

Enable CONFIG_SPL_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.
Move preloader_console_init after spl_early_init to make sure driver
model work.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
board/engicam/imx8mm/spl.c
configs/imx8mm-icore-mx8mm-ctouch2_defconfig
configs/imx8mm-icore-mx8mm-edimm2.2_defconfig
include/configs/imx8mm_icore_mx8mm.h