imx: imx8m[m/p]_phycore: Enable DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Sat, 11 Jun 2022 12:20:58 +0000 (20:20 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jun 2022 19:33:13 +0000 (21:33 +0200)
commit64d118b27f96aed81c2922e20d2b5db9e32a465f
tree092f801ad6254d7ce0a0a5f5c9b29dcfe207bfb6
parent4ebb9a589852841c65ae68e2f3f3d160df40d55e
imx: imx8m[m/p]_phycore: Enable DM_SERIAL

Enable CONFIG_DM_SERIAL. uart 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>
Tested-by: Teresa Remmet <t.remmet@phytec.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
board/phytec/phycore_imx8mm/spl.c
board/phytec/phycore_imx8mp/spl.c
configs/phycore-imx8mm_defconfig
configs/phycore-imx8mp_defconfig
include/configs/phycore_imx8mm.h
include/configs/phycore_imx8mp.h