xref: /openbmc/u-boot/drivers/mtd/spi/Makefile (revision ffdb20be)
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
832b11273SChristian Rieschifdef CONFIG_SPL_BUILD
92fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPL_SPI_LOAD)	+= spi_spl_load.o
102fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPL_SPI_BOOT)	+= fsl_espi_spl.o
1132b11273SChristian Rieschendif
1232b11273SChristian Riesch
132fc7ef61SMasahiro Yamadaobj-$(CONFIG_CMD_SF)        += sf.o
142fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o
152fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o
16*ffdb20beSMike Frysingerobj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
172fc7ef61SMasahiro Yamadaobj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
18