Merge branch 'master' of git://git.denx.de/u-boot-arm
[platform/kernel/u-boot.git] / drivers / mtd / spi / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
9
10 ifdef CONFIG_SPL_BUILD
11 obj-$(CONFIG_SPL_SPI_LOAD)      += spi_spl_load.o
12 obj-$(CONFIG_SPL_SPI_BOOT)      += fsl_espi_spl.o
13 endif
14
15 #ifndef CONFIG_DM_SPI
16 obj-$(CONFIG_SPI_FLASH) += sf_probe.o
17 #endif
18 obj-$(CONFIG_CMD_SF) += sf.o
19 obj-$(CONFIG_SPI_FLASH) += sf_ops.o sf_params.o
20 obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
21 obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
22 obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
23 obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o