blob: 15789a07d8f674786e201581784a7ffb9c37bfed [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_LOAD) += spi_spl_load.o
12obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
Christian Riesch23f16a82011-12-09 09:47:35 +000013endif
14
Simon Glassd6eedf72014-10-13 23:42:06 -060015#ifndef CONFIG_DM_SPI
16obj-$(CONFIG_SPI_FLASH) += sf_probe.o
17#endif
Jagannadha Sutradharudu Teki20e45bc2013-12-23 23:34:42 +053018obj-$(CONFIG_CMD_SF) += sf.o
Simon Glassd6eedf72014-10-13 23:42:06 -060019obj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o
Masahiro Yamada25bb3af2013-10-17 17:34:55 +090020obj-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o
Mike Frysingerb375ad92013-12-03 16:43:27 -070021obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
Masahiro Yamada25bb3af2013-10-17 17:34:55 +090022obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o