xref: /openbmc/u-boot/drivers/mtd/spi/Makefile (revision a65b25d1)
1#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
9
10ifdef CONFIG_SPL_BUILD
11obj-$(CONFIG_SPL_SPI_LOAD)	+= spi_spl_load.o
12obj-$(CONFIG_SPL_SPI_BOOT)	+= fsl_espi_spl.o
13endif
14
15#ifndef CONFIG_DM_SPI
16obj-$(CONFIG_SPI_FLASH) += sf_probe.o
17#endif
18obj-$(CONFIG_CMD_SF) += sf.o
19obj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o
20obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
21obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
22