]> git.baikalelectronics.ru Git - uboot.git/commit
board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL
authorMichael Trimarchi <michael@amarulasolutions.com>
Mon, 18 Apr 2022 06:53:36 +0000 (08:53 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 13:18:25 +0000 (15:18 +0200)
commit9a8f0eda0989ffd5c44dc071e0352e62d53d3bea
tree559398482c96a3484d79ff4db6ff24737e498b06
parent52ad7c40375686a84a688c9d201280463ede83a6
board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL

Enable DM_SERIAL for both U_Boot and the SPL. The uart4 and its pinmux
are already marked with u-boot,dm-spl but we need to move the call to
preloader_console_init() after spl_init() to avoid a board hang
as dm can't be used until after spl_init().

Remove the manual config of the UART pinmux now that it is no longer
needed.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Tested-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
board/bsh/imx8mn_smm_s2/spl.c
configs/imx8mn_bsh_smm_s2_defconfig
configs/imx8mn_bsh_smm_s2pro_defconfig