2018-05-06 17:58:06 -04:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-08-13 12:03:19 -07:00
|
|
|
#
|
|
|
|
# (C) Copyright 2012
|
|
|
|
# Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
# Aneesh V <aneesh@ti.com>
|
|
|
|
# Based on common/Makefile.
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2013-10-17 17:34:59 +09:00
|
|
|
obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
|
2017-07-04 11:16:47 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o
|
2017-08-17 10:06:59 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NOR_SUPPORT) += spl_nor.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)XIP_SUPPORT) += spl_xip.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += spl_ymodem.o
|
2016-07-12 20:28:13 +02:00
|
|
|
ifndef CONFIG_SPL_UBI
|
2017-07-04 11:16:47 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o
|
2016-07-12 20:28:13 +02:00
|
|
|
endif
|
2017-07-04 11:16:47 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)NET_SUPPORT) += spl_net.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += spl_mmc.o
|
2017-09-13 21:29:36 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o
|
2018-08-23 17:17:59 +08:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)OPTEE) += spl_optee.o
|
2019-08-21 21:14:44 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)OPENSBI) += spl_opensbi.o
|
2019-02-01 16:40:07 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USB_STORAGE) += spl_usb.o
|
2019-01-23 14:20:03 +08:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)FS_FAT) += spl_fat.o
|
2019-01-23 14:20:05 +08:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)FS_EXT4) += spl_ext.o
|
2017-07-04 11:16:47 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SATA_SUPPORT) += spl_sata.o
|
2019-01-17 13:43:02 -06:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)DFU) += spl_dfu.o
|
2017-07-04 11:16:47 +02:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o
|
|
|
|
obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o
|
2017-08-16 11:00:54 -07:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o
|
2012-08-13 12:03:19 -07:00
|
|
|
endif
|