[PATCH 1/2] ARM: imx8mm: verdin-imx8mm: Rework board_early_init()

sbabic at denx.de sbabic at denx.de
Tue Apr 12 20:46:26 CEST 2022


> Rename board_early_init_f() to board_early_init(), since this function
> has nothing to do with actual board_early_init_f() as used throughout
> U-Boot. The board_early_init() is function local to this board used to
> configure UART and WDT pinmux. Wrap init_uart_clk() into this function
> so that early UART init would be all in one place. Turn the function
> into __weak one, so it could be overridden in case custom carrier board
> uses different UART or needs custom IOMUX settings.
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <festevam at denx.de>
> Cc: Marcel Ziswiler <marcel.ziswiler at toradex.com>
> Cc: Max Krummenacher <max.krummenacher at toradex.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list