xref: /openbmc/u-boot/drivers/mtd/spi/Makefile (revision 4c2dbefd)
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
8*4c2dbefdSSimon Glassobj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
9*4c2dbefdSSimon 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
15*4c2dbefdSSimon Glass#ifndef CONFIG_DM_SPI
16*4c2dbefdSSimon Glassobj-$(CONFIG_SPI_FLASH) += sf_probe.o
17*4c2dbefdSSimon Glass#endif
182fc7ef61SMasahiro Yamadaobj-$(CONFIG_CMD_SF) += sf.o
19*4c2dbefdSSimon Glassobj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o
202fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o
21ffdb20beSMike Frysingerobj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
222fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
23