2 # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
4 # SPDX-License-Identifier: GPL-2.0+
6 include $(srctree)/arch/arm/mach-omap2/config_secure.mk
9 ifeq ($(CONFIG_AM33XX)$(CONFIG_TI_SECURE_DEVICE),yy)
11 # For booting from SPI use
12 # u-boot-spl_HS_SPI_X-LOADER to program flash
16 # For booting spl from all other media use
21 # For booting spl from NAND flash use
22 # u-boot-spl_HS_X-LOADER
24 # For booting spl from SD/MMC/eMMC media use
27 # For booting spl over UART, USB, or Ethernet use
30 # Refer to README.ti-secure for more info
32 ALL-y += u-boot-spl_HS_ISSW
33 ALL-y += u-boot-spl_HS_SPI_X-LOADER
34 ALL-y += u-boot-spl_HS_X-LOADER
35 ALL-y += u-boot-spl_HS_MLO
36 ALL-y += u-boot-spl_HS_2ND
38 ifeq ($(CONFIG_OMAP54XX)$(CONFIG_TI_SECURE_DEVICE),yy)
39 ALL-y += u-boot-spl_HS_MLO u-boot-spl_HS_X-LOADER
42 ifeq ($(CONFIG_AM33XX),y)
48 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
49 ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
50 ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img