xref: /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/config.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
3*4882a593Smuzhiyun#
4*4882a593Smuzhiyun# SPDX-License-Identifier:      GPL-2.0+
5*4882a593Smuzhiyun
6*4882a593Smuzhiyuninclude  $(srctree)/arch/arm/mach-omap2/config_secure.mk
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunifdef CONFIG_SPL_BUILD
9*4882a593Smuzhiyunifeq ($(CONFIG_TI_SECURE_DEVICE),y) # Refer to README.ti-secure for more info
10*4882a593Smuzhiyun# On DRA7xx/AM57xx:
11*4882a593Smuzhiyun#
12*4882a593Smuzhiyun# For booting spl from SD/MMC/eMMC use
13*4882a593Smuzhiyun# u-boot-spl_HS_MLO
14*4882a593Smuzhiyun#
15*4882a593Smuzhiyun# For booting spl over UART or USB use
16*4882a593Smuzhiyun# u-boot-spl_HS_ULO
17*4882a593Smuzhiyun#
18*4882a593Smuzhiyun# For booting spl from QSPI or NOR use
19*4882a593Smuzhiyun# u-boot-spl_HS_X-LOADER
20*4882a593Smuzhiyunifeq ($(CONFIG_OMAP54XX),y)
21*4882a593SmuzhiyunALL-y += u-boot-spl_HS_MLO
22*4882a593SmuzhiyunALL-y += u-boot-spl_HS_ULO
23*4882a593SmuzhiyunALL-y += u-boot-spl_HS_X-LOADER
24*4882a593Smuzhiyunendif
25*4882a593Smuzhiyun# On AM43XX:
26*4882a593Smuzhiyun#
27*4882a593Smuzhiyun# For booting spl from SPI flash use
28*4882a593Smuzhiyun# u-boot-spl_HS_SPI_X-LOADER
29*4882a593Smuzhiyun#
30*4882a593Smuzhiyun# For booting spl from all other media use
31*4882a593Smuzhiyun# u-boot-spl_HS_ISSW
32*4882a593Smuzhiyunifeq ($(CONFIG_AM43XX),y)
33*4882a593SmuzhiyunALL-y += u-boot-spl_HS_SPI_X-LOADER
34*4882a593SmuzhiyunALL-y += u-boot-spl_HS_ISSW
35*4882a593Smuzhiyunendif
36*4882a593Smuzhiyun# On AM33XX:
37*4882a593Smuzhiyun#
38*4882a593Smuzhiyun# For booting spl from SPI flash use
39*4882a593Smuzhiyun# u-boot-spl_HS_SPI_X-LOADER
40*4882a593Smuzhiyun#
41*4882a593Smuzhiyun# For booting spl from NAND flash or raw SD/MMC/eMMC use
42*4882a593Smuzhiyun# u-boot-spl_HS_X-LOADER
43*4882a593Smuzhiyun#
44*4882a593Smuzhiyun# For booting spl from a filesystem on SD/MMC/eMMC use
45*4882a593Smuzhiyun# u-boot-spl_HS_MLO
46*4882a593Smuzhiyun#
47*4882a593Smuzhiyun# For booting spl over UART, USB, or Ethernet use
48*4882a593Smuzhiyun# u-boot-spl_HS_2ND
49*4882a593Smuzhiyunifeq ($(CONFIG_AM33XX),y)
50*4882a593SmuzhiyunALL-y += u-boot-spl_HS_SPI_X-LOADER
51*4882a593SmuzhiyunALL-y += u-boot-spl_HS_X-LOADER
52*4882a593SmuzhiyunALL-y += u-boot-spl_HS_MLO
53*4882a593SmuzhiyunALL-y += u-boot-spl_HS_2ND
54*4882a593Smuzhiyunendif
55*4882a593Smuzhiyunelse
56*4882a593SmuzhiyunALL-y += MLO
57*4882a593Smuzhiyunifeq ($(CONFIG_AM33XX),y)
58*4882a593SmuzhiyunALL-y += MLO.byteswap
59*4882a593Smuzhiyunendif
60*4882a593Smuzhiyunendif
61*4882a593Smuzhiyunelse
62*4882a593Smuzhiyunifeq ($(CONFIG_TI_SECURE_DEVICE),y)
63*4882a593SmuzhiyunALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
64*4882a593SmuzhiyunALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
65*4882a593Smuzhiyunendif
66*4882a593SmuzhiyunALL-y += u-boot.img
67*4882a593Smuzhiyunendif
68