blob: 6f47a66f400654c9456570f160e474aa71d1b3c5 [file] [log] [blame]
Haavard Skinnemoend25ce7d2008-05-16 11:10:33 +02001#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Haavard Skinnemoend25ce7d2008-05-16 11:10:33 +02006#
7
Simon Glass4c2dbef2014-10-13 23:42:06 -06008obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
9
Christian Riesch32b11272011-12-09 09:47:35 +000010ifdef CONFIG_SPL_BUILD
Masahiro Yamada2fc7ef62013-10-17 17:34:55 +090011obj-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o
12obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
Siarhei Siamashka19e99fb2016-06-07 14:28:34 +030013obj-$(CONFIG_SPL_SPI_SUNXI) += sunxi_spi_spl.o
Christian Riesch32b11272011-12-09 09:47:35 +000014endif
15
Jagan Tekicba65a72015-12-06 23:29:02 +053016obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o
Jagan Teki68124842015-06-27 22:04:55 +053017obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
Daniel Schwierzeck9fe6d872015-04-27 07:42:04 +020018obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
Mike Frysingerffdb20b2013-12-03 16:43:27 -070019obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o