xref: /openbmc/u-boot/arch/arm/mach-k3/config.mk (revision 82f29fd5130b7c1087eb4f61d96fdcc6e12b3e12)
1*82f29fd5SLokesh Vutla# SPDX-License-Identifier:	GPL-2.0+
2*82f29fd5SLokesh Vutla#
3*82f29fd5SLokesh Vutla# Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
4*82f29fd5SLokesh Vutla#	Lokesh Vutla <lokeshvutla@ti.com>
5*82f29fd5SLokesh Vutla
6*82f29fd5SLokesh Vutlaifdef CONFIG_SPL_BUILD
7*82f29fd5SLokesh Vutla
8*82f29fd5SLokesh Vutlaifdef CONFIG_ARM64
9*82f29fd5SLokesh VutlaSPL_ITS := u-boot-spl-k3.its
10*82f29fd5SLokesh Vutla$(SPL_ITS): FORCE
11*82f29fd5SLokesh Vutla	$(srctree)/tools/k3_fit_atf.sh \
12*82f29fd5SLokesh Vutla	$(patsubst %,$(obj)/dts/%.dtb,$(subst ",,$(CONFIG_SPL_OF_LIST))) > $@
13*82f29fd5SLokesh Vutla
14*82f29fd5SLokesh VutlaALL-y	+= tispl.bin
15*82f29fd5SLokesh Vutlaendif
16*82f29fd5SLokesh Vutla
17*82f29fd5SLokesh Vutlaelse
18*82f29fd5SLokesh VutlaALL-y	+= u-boot.img
19*82f29fd5SLokesh Vutlaendif
20