2 # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
4 # SPDX-License-Identifier: GPL-2.0+
7 include $(srctree)/$(CPUDIR)/omap-common/config_secure.mk
10 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
12 # For booting from SPI use
13 # u-boot-spl_HS_SPI_X-LOADER to program flash
17 # For booting spl from all other media use
22 # For booting spl from NAND flash use
23 # u-boot-spl_HS_X-LOADER
25 # For booting spl from SD/MMC/eMMC media use
28 # For booting spl over UART, USB, or Ethernet use
31 # Refer to README.ti-secure for more info
33 ALL-y += u-boot-spl_HS_ISSW
34 ALL-$(CONFIG_SPL_SPI_SUPPORT) += u-boot-spl_HS_SPI_X-LOADER
35 ALL-y += u-boot-spl_HS_X-LOADER
36 ALL-y += u-boot-spl_HS_MLO
37 ALL-y += u-boot-spl_HS_2ND
40 ALL-$(CONFIG_SPL_SPI_SUPPORT) += MLO.byteswap
43 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
44 ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
45 ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img