]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/cpu/armv7/am33xx/config.mk
arm: am4x: fix build dependency for secure devices
[people/ms/u-boot.git] / arch / arm / cpu / armv7 / am33xx / config.mk
CommitLineData
8a8f084e
CN
1#
2# Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
3#
1a459660 4# SPDX-License-Identifier: GPL-2.0+
8a8f084e 5#
883dfd15
DA
6
7include $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
8
8a8f084e 9ifdef CONFIG_SPL_BUILD
883dfd15
DA
10ifeq ($(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#
20ALL-y += u-boot-spl_HS_ISSW
21ALL-$(CONFIG_SPL_SPI_SUPPORT) += u-boot-spl_HS_SPI_X-LOADER
22else
9bf215b0
MY
23ALL-y += MLO
24ALL-$(CONFIG_SPL_SPI_SUPPORT) += MLO.byteswap
883dfd15 25endif
8a8f084e 26else
883dfd15
DA
27ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
28ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
8b76d23e 29ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
883dfd15 30endif
9e414032 31ALL-y += u-boot.img
8a8f084e 32endif