arm: am4x: add U-Boot FIT signing and SPL image post-processing
[platform/kernel/u-boot.git] / arch / arm / cpu / armv7 / am33xx / config.mk
1 #
2 # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 include  $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
8
9 ifdef CONFIG_SPL_BUILD
10 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
11 #
12 # For booting from SPI use
13 # u-boot-spl_HS_SPI_X-LOADER to program flash
14 #
15 # For booting spl from all other  media
16 # use u-boot-spl_HS_ISSW
17 #
18 # Refer to README.ti-secure for more info
19 #
20 ALL-y   += u-boot-spl_HS_ISSW
21 ALL-$(CONFIG_SPL_SPI_SUPPORT) += u-boot-spl_HS_SPI_X-LOADER
22 else
23 ALL-y   += MLO
24 ALL-$(CONFIG_SPL_SPI_SUPPORT) += MLO.byteswap
25 endif
26 else
27 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
28 ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
29 ALL-y   += u-boot_HS.img
30 endif
31 ALL-y   += u-boot.img
32 endif