bad2bbf6cf1b2bdc41f640ce11ec7bd47b24c6f4
[pandora-u-boot.git] / common / spl / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2012
4 # Texas Instruments Incorporated - http://www.ti.com/
5 # Aneesh V <aneesh@ti.com>
6 # Based on common/Makefile.
7 #
8
9 ifdef CONFIG_SPL_BUILD
10 obj-$(CONFIG_$(SPL_TPL_)FRAMEWORK) += spl.o
11 obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o
12 obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o
13 obj-$(CONFIG_$(SPL_TPL_)BLK_FS) += spl_blk_fs.o
14 obj-$(CONFIG_$(SPL_TPL_)LEGACY_IMAGE_FORMAT) += spl_legacy.o
15 obj-$(CONFIG_$(SPL_TPL_)NOR_SUPPORT) += spl_nor.o
16 obj-$(CONFIG_$(SPL_TPL_)XIP_SUPPORT) += spl_xip.o
17 obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += spl_ymodem.o
18 ifndef CONFIG_SPL_UBI
19 obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o
20 obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o
21 endif
22 obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o
23 obj-$(CONFIG_$(SPL_TPL_)NET) += spl_net.o
24 obj-$(CONFIG_$(SPL_TPL_)MMC) += spl_mmc.o
25 obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o
26 obj-$(CONFIG_$(SPL_TPL_)OPTEE_IMAGE) += spl_optee.o
27 obj-$(CONFIG_$(SPL_TPL_)OPENSBI) += spl_opensbi.o
28 obj-$(CONFIG_$(SPL_TPL_)USB_STORAGE) += spl_usb.o
29 obj-$(CONFIG_$(SPL_TPL_)FS_FAT) += spl_fat.o
30 obj-$(CONFIG_$(SPL_TPL_)FS_EXT4) += spl_ext.o
31 obj-$(CONFIG_$(SPL_TPL_)SATA) += spl_sata.o
32 obj-$(CONFIG_$(SPL_TPL_)NVME) += spl_nvme.o
33 obj-$(CONFIG_$(SPL_TPL_)SEMIHOSTING) += spl_semihosting.o
34 obj-$(CONFIG_$(SPL_TPL_)DFU) += spl_dfu.o
35 obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o
36 obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o
37 obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o
38 endif