xref: /openbmc/u-boot/drivers/mtd/spi/Makefile (revision 19e99fb4)
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
13*19e99fb4SSiarhei Siamashkaobj-$(CONFIG_SPL_SPI_SUNXI)	+= sunxi_spi_spl.o
1432b11273SChristian Rieschendif
1532b11273SChristian Riesch
16cba65a77SJagan Tekiobj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o
176812484aSJagan Tekiobj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
189fe6d871SDaniel Schwierzeckobj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
19ffdb20beSMike Frysingerobj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
20