xref: /openbmc/u-boot/arch/arm/mach-omap2/config.mk (revision 88077715)
1#
2# Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
3#
4# SPDX-License-Identifier:      GPL-2.0+
5
6include  $(srctree)/arch/arm/mach-omap2/config_secure.mk
7
8ifdef CONFIG_SPL_BUILD
9ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
10#
11# For booting from SPI use
12# u-boot-spl_HS_SPI_X-LOADER to program flash
13#
14# On AM43XX:
15#
16# For booting spl from all other media use
17# u-boot-spl_HS_ISSW
18#
19# On AM33XX:
20#
21# For booting spl from NAND flash use
22# u-boot-spl_HS_X-LOADER
23#
24# For booting spl from SD/MMC/eMMC media use
25# u-boot-spl_HS_MLO
26#
27# For booting spl over UART, USB, or Ethernet use
28# u-boot-spl_HS_2ND
29#
30# Refer to README.ti-secure for more info
31#
32ALL-y += u-boot-spl_HS_ISSW
33ALL-y += u-boot-spl_HS_SPI_X-LOADER
34ALL-y += u-boot-spl_HS_X-LOADER
35ALL-y += u-boot-spl_HS_MLO
36ALL-y += u-boot-spl_HS_2ND
37else
38ALL-y += MLO
39ifeq ($(CONFIG_AM33XX),y)
40ALL-y += MLO.byteswap
41endif
42endif
43else
44ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
45ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
46ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
47endif
48ALL-y += u-boot.img
49endif
50