Merge branch 'master' of git://git.denx.de/u-boot
[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_BOOT)      += fsl_espi_spl.o
12 obj-$(CONFIG_SPL_SPI_SUNXI)     += sunxi_spi_spl.o
13 endif
14
15 obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o spi_flash_ids.o sf.o
16 obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
17 obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
18 obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o