]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: gateworks: venice: enable SPL_DM_SERIAL
authorTim Harvey <tharvey@gateworks.com>
Fri, 29 Apr 2022 19:36:25 +0000 (12:36 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 20 May 2022 07:30:28 +0000 (09:30 +0200)
commit6fc639461b2ab0a2b483a5ee54e62254376632df
treedf46d346df8a0ae3f736ce9e0f33e74ffed6d823
parent8e3cc42a3fbe8bd89a8d353535a700045494491b
board: gateworks: venice: enable SPL_DM_SERIAL

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_early_init()
to avoid a board hang as dm can't be used until after spl_early_init()
due to the uart driver not enabling the uart clock.

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

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/venice/spl.c
configs/imx8mm_venice_defconfig
configs/imx8mn_venice_defconfig
configs/imx8mp_venice_defconfig