]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-omap2/config.mk
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[u-boot] / arch / arm / mach-omap2 / config.mk
1 #
2 # Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5
6 include  $(srctree)/arch/arm/mach-omap2/config_secure.mk
7
8 ifdef CONFIG_SPL_BUILD
9 ifeq ($(CONFIG_TI_SECURE_DEVICE),y) # Refer to README.ti-secure for more info
10 # On DRA7xx/AM57xx:
11 #
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
17 #
18 # For booting spl from QSPI or NOR use
19 # u-boot-spl_HS_X-LOADER
20 ifeq ($(CONFIG_OMAP54XX),y)
21 ALL-y += u-boot-spl_HS_MLO
22 ALL-y += u-boot-spl_HS_ULO
23 ALL-y += u-boot-spl_HS_X-LOADER
24 endif
25 # On AM43XX:
26 #
27 # For booting spl from SPI flash use
28 # u-boot-spl_HS_SPI_X-LOADER
29 #
30 # For booting spl from all other media use
31 # u-boot-spl_HS_ISSW
32 ifeq ($(CONFIG_AM43XX),y)
33 ALL-y += u-boot-spl_HS_SPI_X-LOADER
34 ALL-y += u-boot-spl_HS_ISSW
35 endif
36 # On AM33XX:
37 #
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
42 # u-boot-spl_HS_X-LOADER
43 #
44 # For booting spl from a filesystem on SD/MMC/eMMC use
45 # u-boot-spl_HS_MLO
46 #
47 # For booting spl over UART, USB, or Ethernet use
48 # u-boot-spl_HS_2ND
49 ifeq ($(CONFIG_AM33XX),y)
50 ALL-y += u-boot-spl_HS_SPI_X-LOADER
51 ALL-y += u-boot-spl_HS_X-LOADER
52 ALL-y += u-boot-spl_HS_MLO
53 ALL-y += u-boot-spl_HS_2ND
54 endif
55 else
56 ALL-y += MLO
57 ifeq ($(CONFIG_AM33XX),y)
58 ALL-y += MLO.byteswap
59 endif
60 endif
61 else
62 ifeq ($(CONFIG_TI_SECURE_DEVICE),y)
63 ALL-$(CONFIG_QSPI_BOOT) += u-boot_HS_XIP_X-LOADER
64 ALL-$(CONFIG_SPL_LOAD_FIT) += u-boot_HS.img
65 endif
66 ALL-y += u-boot.img
67 endif