1983e3700STom Rini# 2983e3700STom Rini# Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ 3983e3700STom Rini# 4983e3700STom Rini# SPDX-License-Identifier: GPL-2.0+ 5983e3700STom Rini 6983e3700STom Riniinclude $(srctree)/arch/arm/mach-omap2/config_secure.mk 7983e3700STom Rini 8983e3700STom Riniifdef CONFIG_SPL_BUILD 9*c8a25ac4SAndrew F. Davisifeq ($(CONFIG_TI_SECURE_DEVICE),y) # Refer to README.ti-secure for more info 10*c8a25ac4SAndrew F. Davis# On DRA7xx/AM57xx: 11983e3700STom Rini# 12*c8a25ac4SAndrew F. Davis# For booting spl from SD/MMC/eMMC use 13*c8a25ac4SAndrew F. Davis# u-boot-spl_HS_MLO 14983e3700STom Rini# 15*c8a25ac4SAndrew F. Davis# For booting spl over UART or USB use 16*c8a25ac4SAndrew F. Davis# u-boot-spl_HS_ULO 17*c8a25ac4SAndrew F. Davis# 18*c8a25ac4SAndrew F. Davis# For booting spl from QSPI or NOR use 19*c8a25ac4SAndrew F. Davis# u-boot-spl_HS_X-LOADER 20*c8a25ac4SAndrew F. Davisifeq ($(CONFIG_OMAP54XX),y) 21*c8a25ac4SAndrew F. DavisALL-y += u-boot-spl_HS_MLO 22*c8a25ac4SAndrew F. DavisALL-y += u-boot-spl_HS_ULO 23*c8a25ac4SAndrew F. DavisALL-y += u-boot-spl_HS_X-LOADER 24*c8a25ac4SAndrew F. Davisendif 25983e3700STom Rini# On AM43XX: 26983e3700STom Rini# 27*c8a25ac4SAndrew F. Davis# For booting spl from SPI flash use 28*c8a25ac4SAndrew F. Davis# u-boot-spl_HS_SPI_X-LOADER 29*c8a25ac4SAndrew F. Davis# 30983e3700STom Rini# For booting spl from all other media use 31983e3700STom Rini# u-boot-spl_HS_ISSW 32*c8a25ac4SAndrew F. Davisifeq ($(CONFIG_AM43XX),y) 33*c8a25ac4SAndrew F. DavisALL-y += u-boot-spl_HS_SPI_X-LOADER 34*c8a25ac4SAndrew F. DavisALL-y += u-boot-spl_HS_ISSW 35*c8a25ac4SAndrew F. Davisendif 36983e3700STom Rini# On AM33XX: 37983e3700STom Rini# 38*c8a25ac4SAndrew F. Davis# For booting spl from SPI flash use 39*c8a25ac4SAndrew F. Davis# u-boot-spl_HS_SPI_X-LOADER 40*c8a25ac4SAndrew F. Davis# 41*c8a25ac4SAndrew F. Davis# For booting spl from NAND flash or raw SD/MMC/eMMC use 42983e3700STom Rini# u-boot-spl_HS_X-LOADER 43983e3700STom Rini# 44*c8a25ac4SAndrew F. Davis# For booting spl from a filesystem on SD/MMC/eMMC use 45983e3700STom Rini# u-boot-spl_HS_MLO 46983e3700STom Rini# 47983e3700STom Rini# For booting spl over UART, USB, or Ethernet use 48983e3700STom Rini# u-boot-spl_HS_2ND 49*c8a25ac4SAndrew F. Davisifeq ($(CONFIG_AM33XX),y) 50983e3700STom RiniALL-y += u-boot-spl_HS_SPI_X-LOADER 51983e3700STom RiniALL-y += u-boot-spl_HS_X-LOADER 52983e3700STom RiniALL-y += u-boot-spl_HS_MLO 53983e3700STom RiniALL-y += u-boot-spl_HS_2ND 54*c8a25ac4SAndrew F. Davisendif 55983e3700STom Rinielse 56983e3700STom RiniALL-y += MLO 57983e3700STom Riniifeq ($(CONFIG_AM33XX),y) 58983e3700STom RiniALL-y += MLO.byteswap 59983e3700STom Riniendif 60983e3700STom Riniendif 61983e3700STom Rinielse 62983e3700STom Riniifeq ($(CONFIG_TI_SECURE_DEVICE),y) 63983e3700STom RiniALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER 64983e3700STom RiniALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img 65983e3700STom Riniendif 66983e3700STom RiniALL-y += u-boot.img 67983e3700STom Riniendif 68