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 INPUTS-y += u-boot-spl_HS_MLO
22 INPUTS-y += u-boot-spl_HS_ULO
23 INPUTS-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 INPUTS-y += u-boot-spl_HS_SPI_X-LOADER
34 INPUTS-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 INPUTS-y += u-boot-spl_HS_SPI_X-LOADER
51 INPUTS-y += u-boot-spl_HS_X-LOADER
52 INPUTS-y += u-boot-spl_HS_MLO
53 INPUTS-y += u-boot-spl_HS_2ND
57 ifeq ($(CONFIG_AM33XX),y)
58 INPUTS-y += MLO.byteswap
62 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
63 INPUTS-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
64 INPUTS-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
66 INPUTS-y += u-boot.img