imx: imx8mn_var_som: enable DM_SERIAL
authorPeng Fan <peng.fan@nxp.com>
Sat, 11 Jun 2022 12:20:59 +0000 (20:20 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 14 Jun 2022 19:33:13 +0000 (21:33 +0200)
commitbb9e14cfd0e8adc3e8a5a5d112cd7a4ca5c39472
tree341d1aaed9b61fbfa31c0cb14ab2952af6d1f128
parent64d118b27f96aed81c2922e20d2b5db9e32a465f
imx: imx8mn_var_som: 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_init to make sure driver
model work.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
board/variscite/imx8mn_var_som/spl.c
configs/imx8mn_var_som_defconfig
include/configs/imx8mn_var_som.h