blob: fcda02341216ec9da1dd8068e1f3d9c221d189e8 [file] [log] [blame]
Haavard Skinnemoen2f5bfb72008-05-16 11:10:33 +02001#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Haavard Skinnemoen2f5bfb72008-05-16 11:10:33 +02006#
7
Simon Glassd6eedf72014-10-13 23:42:06 -06008obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
9
Christian Riesch23f16a82011-12-09 09:47:35 +000010ifdef CONFIG_SPL_BUILD
Masahiro Yamada25bb3af2013-10-17 17:34:55 +090011obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
Siarhei Siamashka6f3ea202016-06-07 14:28:34 +030012obj-$(CONFIG_SPL_SPI_SUNXI) += sunxi_spi_spl.o
Christian Riesch23f16a82011-12-09 09:47:35 +000013endif
14
Jagan Teki9b6b30b2016-10-30 23:16:22 +053015obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o spi_flash_ids.o sf.o
Jagan Teki79ec07c2015-06-27 22:04:55 +053016obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
Daniel Schwierzeck06cfc032015-04-27 07:42:04 +020017obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
Mike Frysingerb375ad92013-12-03 16:43:27 -070018obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o