imx: imx8mm_evk: enable CONFIG_DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Fri, 15 Apr 2022 04:35:34 +0000 (12:35 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 13:18:25 +0000 (15:18 +0200)
commitbf6e0b9fd2c09e2a62c146296164960bec50bc3f
tree5028bff8a0d71e810f209d16fc77efd5e5304688
parentae188eb61c995c5fbc407868207770284040cba0
imx: imx8mm_evk: enable CONFIG_DM_SERIAL

Enable CONFIG_DM_SERIAL. uart2 and its pinmux was already
marked with u-boot,dm-spl.

move the preloader_console_init() call after spl_early_init() to
avoid board hang

Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8mm_evk/spl.c
configs/imx8mm_evk_defconfig