arm: K3: Introduce System Firmware loader framework
authorAndreas Dannenberg <dannenberg@ti.com>
Tue, 4 Jun 2019 22:55:47 +0000 (17:55 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 15:12:54 +0000 (11:12 -0400)
commit6df8706dc26078f01419b73a670f865dc3425564
treeed6ebc0fb965b4d96afa56be78d40028e4b064a4
parente1eb6ada4e38086d3d7cfd11c898a360098f7681
arm: K3: Introduce System Firmware loader framework

Introduce a framework that allows loading the System Firmware (SYSFW)
binary as well as the associated configuration data from an image tree
blob named "sysfw.itb" from an FS-based MMC boot media or from an MMC
RAW mode partition or sector.

To simplify the handling of and loading from the different boot media
we tap into the existing U-Boot SPL framework usually used for loading
U-Boot by building on an earlier commit that exposes some of that
functionality.

Note that this initial implementation only supports FS and RAW-based
eMMC/SD card boot.

Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-k3/Kconfig
arch/arm/mach-k3/Makefile
arch/arm/mach-k3/include/mach/sysfw-loader.h [new file with mode: 0644]
arch/arm/mach-k3/sysfw-loader.c [new file with mode: 0644]