]> git.baikalelectronics.ru Git - uboot.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)
commit3e3d326c2281de2d61cea54969f80be49a4321d9
treedf46d346df8a0ae3f736ce9e0f33e74ffed6d823
parent0a6bde6eebc2905fde7e836aa93e983160737d80
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