imx: imx8mn_evk: enable CONFIG_DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Fri, 15 Apr 2022 04:35:35 +0000 (12:35 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 13:18:25 +0000 (15:18 +0200)
commita497740f4ea6e823ef96b14756032cc51ffe9419
treea2ab1b6691c8409fbe9a75e60b5c6a681e0933fb
parentbf6e0b9fd2c09e2a62c146296164960bec50bc3f
imx: imx8mn_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_init() to
avoid board hang

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