Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2012 |
| 4 | # Texas Instruments Incorporated - http://www.ti.com/ |
| 5 | # Aneesh V <aneesh@ti.com> |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 6 | # Based on common/Makefile. |
| 7 | # |
| 8 | |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 9 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 55c745d | 2013-10-17 17:34:59 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
Philipp Tomsich | ae7dcd8 | 2017-07-04 11:16:47 +0200 | [diff] [blame] | 11 | obj-$(CONFIG_$(SPL_TPL_)BOOTROM_SUPPORT) += spl_bootrom.o |
| 12 | obj-$(CONFIG_$(SPL_TPL_)LOAD_FIT) += spl_fit.o |
Philipp Tomsich | e062f91 | 2017-08-17 10:06:59 +0200 | [diff] [blame] | 13 | obj-$(CONFIG_$(SPL_TPL_)NOR_SUPPORT) += spl_nor.o |
| 14 | obj-$(CONFIG_$(SPL_TPL_)XIP_SUPPORT) += spl_xip.o |
| 15 | obj-$(CONFIG_$(SPL_TPL_)YMODEM_SUPPORT) += spl_ymodem.o |
Ladislav Michl | 2a8ea48 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 16 | ifndef CONFIG_SPL_UBI |
Philipp Tomsich | ae7dcd8 | 2017-07-04 11:16:47 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o |
| 18 | obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o |
Ladislav Michl | 2a8ea48 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 19 | endif |
Philipp Tomsich | ae7dcd8 | 2017-07-04 11:16:47 +0200 | [diff] [blame] | 20 | obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o |
| 21 | obj-$(CONFIG_$(SPL_TPL_)NET_SUPPORT) += spl_net.o |
| 22 | obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += spl_mmc.o |
Philipp Tomsich | f661881 | 2017-09-13 21:29:36 +0200 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o |
Kever Yang | a28d42c | 2018-08-23 17:17:59 +0800 | [diff] [blame] | 24 | obj-$(CONFIG_$(SPL_TPL_)OPTEE) += spl_optee.o |
Philipp Tomsich | ae7dcd8 | 2017-07-04 11:16:47 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_$(SPL_TPL_)USB_SUPPORT) += spl_usb.o |
| 26 | obj-$(CONFIG_$(SPL_TPL_)FAT_SUPPORT) += spl_fat.o |
| 27 | obj-$(CONFIG_$(SPL_TPL_)EXT_SUPPORT) += spl_ext.o |
| 28 | obj-$(CONFIG_$(SPL_TPL_)SATA_SUPPORT) += spl_sata.o |
| 29 | obj-$(CONFIG_$(SPL_TPL_)DFU_SUPPORT) += spl_dfu.o |
| 30 | obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o |
| 31 | obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o |
Stefan Agner | d0d9d21 | 2017-08-16 11:00:54 -0700 | [diff] [blame] | 32 | obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o |
Tom Rini | 28591df | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 33 | endif |