Chandan Nath | 77a73fe | 2012-01-09 20:38:59 +0000 | [diff] [blame] | 1 | # |
Nishanth Menon | eaa39c6 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 2 | # Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/ |
Chandan Nath | 77a73fe | 2012-01-09 20:38:59 +0000 | [diff] [blame] | 3 | # |
Tom Rini | 28eec37 | 2016-11-07 21:34:54 -0500 | [diff] [blame] | 4 | # SPDX-License-Identifier: GPL-2.0+ |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 5 | |
Tom Rini | 28eec37 | 2016-11-07 21:34:54 -0500 | [diff] [blame] | 6 | include $(srctree)/arch/arm/mach-omap2/config_secure.mk |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 7 | |
Simon Glass | 85ed77d | 2024-09-29 19:49:46 -0600 | [diff] [blame] | 8 | ifdef CONFIG_XPL_BUILD |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 9 | ifeq ($(CONFIG_TI_SECURE_DEVICE),y) # Refer to README.ti-secure for more info |
| 10 | # On DRA7xx/AM57xx: |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 11 | # |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 12 | # For booting spl from SD/MMC/eMMC use |
| 13 | # u-boot-spl_HS_MLO |
| 14 | # |
| 15 | # For booting spl over UART or USB use |
| 16 | # u-boot-spl_HS_ULO |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 17 | # |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 18 | # For booting spl from QSPI or NOR use |
| 19 | # u-boot-spl_HS_X-LOADER |
| 20 | ifeq ($(CONFIG_OMAP54XX),y) |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 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 |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 24 | endif |
Andrew F. Davis | a86d6ad | 2016-08-30 14:06:21 -0500 | [diff] [blame] | 25 | # On AM43XX: |
| 26 | # |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 27 | # For booting spl from SPI flash use |
| 28 | # u-boot-spl_HS_SPI_X-LOADER |
| 29 | # |
Andrew F. Davis | a86d6ad | 2016-08-30 14:06:21 -0500 | [diff] [blame] | 30 | # For booting spl from all other media use |
| 31 | # u-boot-spl_HS_ISSW |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 32 | ifeq ($(CONFIG_AM43XX),y) |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 33 | INPUTS-y += u-boot-spl_HS_SPI_X-LOADER |
| 34 | INPUTS-y += u-boot-spl_HS_ISSW |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 35 | endif |
Andrew F. Davis | a86d6ad | 2016-08-30 14:06:21 -0500 | [diff] [blame] | 36 | # On AM33XX: |
| 37 | # |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 38 | # For booting spl from SPI flash use |
| 39 | # u-boot-spl_HS_SPI_X-LOADER |
| 40 | # |
| 41 | # For booting spl from NAND flash or raw SD/MMC/eMMC use |
Andrew F. Davis | a86d6ad | 2016-08-30 14:06:21 -0500 | [diff] [blame] | 42 | # u-boot-spl_HS_X-LOADER |
| 43 | # |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 44 | # For booting spl from a filesystem on SD/MMC/eMMC use |
Andrew F. Davis | a86d6ad | 2016-08-30 14:06:21 -0500 | [diff] [blame] | 45 | # u-boot-spl_HS_MLO |
| 46 | # |
| 47 | # For booting spl over UART, USB, or Ethernet use |
| 48 | # u-boot-spl_HS_2ND |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 49 | ifeq ($(CONFIG_AM33XX),y) |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 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 |
Andrew F. Davis | 1665f23 | 2017-01-23 11:34:37 -0600 | [diff] [blame] | 54 | endif |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 55 | else |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 56 | INPUTS-y += MLO |
Tom Rini | 28eec37 | 2016-11-07 21:34:54 -0500 | [diff] [blame] | 57 | ifeq ($(CONFIG_AM33XX),y) |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 58 | INPUTS-y += MLO.byteswap |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 59 | endif |
Tom Rini | 28eec37 | 2016-11-07 21:34:54 -0500 | [diff] [blame] | 60 | endif |
Chandan Nath | 77a73fe | 2012-01-09 20:38:59 +0000 | [diff] [blame] | 61 | else |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 62 | ifeq ($(CONFIG_TI_SECURE_DEVICE),y) |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 63 | INPUTS-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER |
| 64 | INPUTS-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img |
Daniel Allred | e8a9b67 | 2016-05-19 19:10:46 -0500 | [diff] [blame] | 65 | endif |
Simon Glass | c46090d | 2020-07-19 13:56:01 -0600 | [diff] [blame] | 66 | INPUTS-y += u-boot.img |
Chandan Nath | 77a73fe | 2012-01-09 20:38:59 +0000 | [diff] [blame] | 67 | endif |