Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 47f7bca | 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 | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 6 | # Based on common/Makefile. |
| 7 | # |
| 8 | |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 9 | ifdef CONFIG_SPL_BUILD |
Heiko Stuebner | 22b7b86 | 2019-07-16 10:12:02 +0200 | [diff] [blame] | 10 | obj-$(CONFIG_$(SPL_TPL_)FRAMEWORK) += spl.o |
Philipp Tomsich | f94e643 | 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 |
Mayuresh Chitale | 8ce6a2e | 2023-06-03 19:32:54 +0530 | [diff] [blame] | 13 | obj-$(CONFIG_$(SPL_TPL_)BLK_FS) += spl_blk_fs.o |
Andrew Davis | 6665ab1 | 2022-05-04 15:52:25 -0500 | [diff] [blame] | 14 | obj-$(CONFIG_$(SPL_TPL_)LEGACY_IMAGE_FORMAT) += spl_legacy.o |
Philipp Tomsich | b5c4d81 | 2017-08-17 10:06:59 +0200 | [diff] [blame] | 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 |
Ladislav Michl | bf55cd4 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 18 | ifndef CONFIG_SPL_UBI |
Philipp Tomsich | f94e643 | 2017-07-04 11:16:47 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_$(SPL_TPL_)NAND_SUPPORT) += spl_nand.o |
| 20 | obj-$(CONFIG_$(SPL_TPL_)ONENAND_SUPPORT) += spl_onenand.o |
Ladislav Michl | bf55cd4 | 2016-07-12 20:28:13 +0200 | [diff] [blame] | 21 | endif |
Philipp Tomsich | f94e643 | 2017-07-04 11:16:47 +0200 | [diff] [blame] | 22 | obj-$(CONFIG_$(SPL_TPL_)UBI) += spl_ubi.o |
Simon Glass | 5ed16a9 | 2021-08-08 12:20:30 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_$(SPL_TPL_)NET) += spl_net.o |
Simon Glass | 103c5f1 | 2021-08-08 12:20:09 -0600 | [diff] [blame] | 24 | obj-$(CONFIG_$(SPL_TPL_)MMC) += spl_mmc.o |
Philipp Tomsich | aa122f6 | 2017-09-13 21:29:36 +0200 | [diff] [blame] | 25 | obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o |
Patrick Delaunay | 51827f9 | 2021-09-02 11:56:16 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_$(SPL_TPL_)OPTEE_IMAGE) += spl_optee.o |
Lukas Auer | 5e30e45 | 2019-08-21 21:14:44 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_$(SPL_TPL_)OPENSBI) += spl_opensbi.o |
Abel Vesa | 7953601 | 2019-02-01 16:40:07 +0000 | [diff] [blame] | 28 | obj-$(CONFIG_$(SPL_TPL_)USB_STORAGE) += spl_usb.o |
Tien Fong Chee | 0c3a9ed | 2019-01-23 14:20:03 +0800 | [diff] [blame] | 29 | obj-$(CONFIG_$(SPL_TPL_)FS_FAT) += spl_fat.o |
Tien Fong Chee | f4b4092 | 2019-01-23 14:20:05 +0800 | [diff] [blame] | 30 | obj-$(CONFIG_$(SPL_TPL_)FS_EXT4) += spl_ext.o |
Sean Anderson | 12b3339 | 2023-10-14 16:47:45 -0400 | [diff] [blame] | 31 | obj-$(CONFIG_$(SPL_TPL_)LOAD_IMX_CONTAINER) += spl_imx_container.o |
Simon Glass | f756037 | 2021-08-08 12:20:17 -0600 | [diff] [blame] | 32 | obj-$(CONFIG_$(SPL_TPL_)SATA) += spl_sata.o |
Mayuresh Chitale | 02d9c0b | 2023-06-03 19:32:56 +0530 | [diff] [blame] | 33 | obj-$(CONFIG_$(SPL_TPL_)NVME) += spl_nvme.o |
Sean Anderson | 8e1c9fe | 2022-03-22 16:59:19 -0400 | [diff] [blame] | 34 | obj-$(CONFIG_$(SPL_TPL_)SEMIHOSTING) += spl_semihosting.o |
Andrew F. Davis | 6536ca4 | 2019-01-17 13:43:02 -0600 | [diff] [blame] | 35 | obj-$(CONFIG_$(SPL_TPL_)DFU) += spl_dfu.o |
Philipp Tomsich | f94e643 | 2017-07-04 11:16:47 +0200 | [diff] [blame] | 36 | obj-$(CONFIG_$(SPL_TPL_)SPI_LOAD) += spl_spi.o |
| 37 | obj-$(CONFIG_$(SPL_TPL_)RAM_SUPPORT) += spl_ram.o |
Stefan Agner | a3774c1 | 2017-08-16 11:00:54 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_$(SPL_TPL_)USB_SDP_SUPPORT) += spl_sdp.o |
Tom Rini | 47f7bca | 2012-08-13 12:03:19 -0700 | [diff] [blame] | 39 | endif |