]> git.ipfire.org Git - thirdparty/u-boot.git/commit - arch/arm/mach-k3/am642_init.c
arm: mach-k3: am642: Load SYSFW binary and config from boot media
authorDave Gerlach <d-gerlach@ti.com>
Fri, 23 Apr 2021 16:27:36 +0000 (11:27 -0500)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 12 May 2021 10:57:57 +0000 (16:27 +0530)
commitd2edabfa8de56460bfe1641f019d793c6d685a14
tree8554642a75a1b132845648ce981403fcea4f3224
parent6d52c9dd9022314f494c087fbd7dc68836896523
arm: mach-k3: am642: Load SYSFW binary and config from boot media

Use the System Firmware (SYSFW) loader framework to load and start
the SYSFW as part of the AM642 early initialization sequence. Also
make use of existing logic to detect if ROM has already loaded sysfw
and avoided attempting to reload and instead just prepare to use already
running firmware.

While at it also initialize the MAIN_UART1 pinmux as it is used by SYSFW
to print diagnostic messages.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
arch/arm/mach-k3/am642_init.c