[PATCH V2] board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL

Fabio Estevam festevam at gmail.com
Sat Apr 16 14:18:59 CEST 2022


Hi Michael,

On Fri, Apr 15, 2022 at 2:23 AM Michael Trimarchi
<michael at amarulasolutions.com> wrote:
>
> Enable DM_SERIAL for both U_Boot and the SPL. The uart2 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 at amarulasolutions.com>
> Cc: Tim Harvey <tharvey at gateworks.com>

Reviewed-by: Fabio Estevam <festevam at denx.de>


More information about the U-Boot mailing list