xref: /openbmc/u-boot/drivers/mtd/spi/Makefile (revision 9fe6d871)
1d25ce7d2SHaavard Skinnemoen#
2d25ce7d2SHaavard Skinnemoen# (C) Copyright 2006
3d25ce7d2SHaavard Skinnemoen# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4d25ce7d2SHaavard Skinnemoen#
51a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
6d25ce7d2SHaavard Skinnemoen#
7d25ce7d2SHaavard Skinnemoen
84c2dbefdSSimon Glassobj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
94c2dbefdSSimon Glass
1032b11273SChristian Rieschifdef CONFIG_SPL_BUILD
112fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPL_SPI_LOAD)	+= spi_spl_load.o
122fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPL_SPI_BOOT)	+= fsl_espi_spl.o
1332b11273SChristian Rieschendif
1432b11273SChristian Riesch
154c2dbefdSSimon Glass#ifndef CONFIG_DM_SPI
164c2dbefdSSimon Glassobj-$(CONFIG_SPI_FLASH) += sf_probe.o
174c2dbefdSSimon Glass#endif
1879b4c08fSHaikun Wangobj-$(CONFIG_SF_DATAFLASH) += sf_dataflash.o
192fc7ef61SMasahiro Yamadaobj-$(CONFIG_CMD_SF) += sf.o
204c2dbefdSSimon Glassobj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o
21*9fe6d871SDaniel Schwierzeckobj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
22ffdb20beSMike Frysingerobj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
232fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
24