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 13obj-$(CONFIG_SPL_SPI_SUNXI) += sunxi_spi_spl.o 14endif 15 16obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o 17obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o 18obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o 19obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o 20