]>
Commit | Line | Data |
---|---|---|
8a8f084e CN |
1 | # |
2 | # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ | |
3 | # | |
1a459660 | 4 | # SPDX-License-Identifier: GPL-2.0+ |
8a8f084e | 5 | # |
883dfd15 DA |
6 | |
7 | include $(srctree)/$(CPUDIR)/omap-common/config_secure.mk | |
8 | ||
8a8f084e | 9 | ifdef CONFIG_SPL_BUILD |
883dfd15 DA |
10 | ifeq ($(CONFIG_TI_SECURE_DEVICE),y) |
11 | # | |
12 | # For booting from SPI use | |
13 | # u-boot-spl_HS_SPI_X-LOADER to program flash | |
14 | # | |
9eda2518 AD |
15 | # On AM43XX: |
16 | # | |
17 | # For booting spl from all other media use | |
18 | # u-boot-spl_HS_ISSW | |
19 | # | |
20 | # On AM33XX: | |
21 | # | |
22 | # For booting spl from NAND flash use | |
23 | # u-boot-spl_HS_X-LOADER | |
24 | # | |
25 | # For booting spl from SD/MMC/eMMC media use | |
26 | # u-boot-spl_HS_MLO | |
27 | # | |
28 | # For booting spl over UART, USB, or Ethernet use | |
29 | # u-boot-spl_HS_2ND | |
883dfd15 DA |
30 | # |
31 | # Refer to README.ti-secure for more info | |
32 | # | |
33 | ALL-y += u-boot-spl_HS_ISSW | |
7e5a0bfb | 34 | ALL-y += u-boot-spl_HS_SPI_X-LOADER |
9eda2518 AD |
35 | ALL-y += u-boot-spl_HS_X-LOADER |
36 | ALL-y += u-boot-spl_HS_MLO | |
37 | ALL-y += u-boot-spl_HS_2ND | |
883dfd15 | 38 | else |
9bf215b0 | 39 | ALL-y += MLO |
7e5a0bfb | 40 | ALL-y += MLO.byteswap |
883dfd15 | 41 | endif |
8a8f084e | 42 | else |
883dfd15 DA |
43 | ifeq ($(CONFIG_TI_SECURE_DEVICE),y) |
44 | ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER | |
8b76d23e | 45 | ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img |
883dfd15 | 46 | endif |
9e414032 | 47 | ALL-y += u-boot.img |
8a8f084e | 48 | endif |