summaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3/Makefile
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2019-06-04 17:55:47 -0500
committerTom Rini <trini@konsulko.com>2019-07-17 11:12:54 -0400
commit6df8706dc26078f01419b73a670f865dc3425564 (patch)
treeed6ebc0fb965b4d96afa56be78d40028e4b064a4 /arch/arm/mach-k3/Makefile
parente1eb6ada4e38086d3d7cfd11c898a360098f7681 (diff)
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>
Diffstat (limited to 'arch/arm/mach-k3/Makefile')
-rw-r--r--arch/arm/mach-k3/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/Makefile b/arch/arm/mach-k3/Makefile
index 0c3a4f7db1..3af7f2ec96 100644
--- a/arch/arm/mach-k3/Makefile
+++ b/arch/arm/mach-k3/Makefile
@@ -7,4 +7,7 @@ obj-$(CONFIG_SOC_K3_AM6) += am6_init.o
obj-$(CONFIG_ARM64) += arm64-mmu.o
obj-$(CONFIG_CPU_V7R) += r5_mpu.o lowlevel_init.o
obj-$(CONFIG_TI_SECURE_DEVICE) += security.o
+ifeq ($(CONFIG_SPL_BUILD),y)
+obj-$(CONFIG_K3_LOAD_SYSFW) += sysfw-loader.o
+endif
obj-y += common.o