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_TI_SECURE_DEVICE),y) # Refer to README.ti-secure for more info
12 # For booting spl from SD/MMC/eMMC use
15 # For booting spl over UART or USB use
18 # For booting spl from QSPI or NOR use
19 # u-boot-spl_HS_X-LOADER
20 ifeq ($(CONFIG_OMAP54XX),y)
21 ALL-y += u-boot-spl_HS_MLO
22 ALL-y += u-boot-spl_HS_ULO
23 ALL-y += u-boot-spl_HS_X-LOADER
27 # For booting spl from SPI flash use
28 # u-boot-spl_HS_SPI_X-LOADER
30 # For booting spl from all other media use
32 ifeq ($(CONFIG_AM43XX),y)
33 ALL-y += u-boot-spl_HS_SPI_X-LOADER
34 ALL-y += u-boot-spl_HS_ISSW
38 # For booting spl from SPI flash use
39 # u-boot-spl_HS_SPI_X-LOADER
41 # For booting spl from NAND flash or raw SD/MMC/eMMC use
42 # u-boot-spl_HS_X-LOADER
44 # For booting spl from a filesystem on SD/MMC/eMMC use
47 # For booting spl over UART, USB, or Ethernet use
49 ifeq ($(CONFIG_AM33XX),y)
50 ALL-y += u-boot-spl_HS_SPI_X-LOADER
51 ALL-y += u-boot-spl_HS_X-LOADER
52 ALL-y += u-boot-spl_HS_MLO
53 ALL-y += u-boot-spl_HS_2ND
57 ifeq ($(CONFIG_AM33XX),y)
62 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
63 ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
64 ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img