All the other SPL loaders are in this directory, so move the SPI one in there too. There are two board-specific SPI loaders (fsl and sunxi). These remain in the drivers/mtd/spi directory, since they do not contain generic code. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
18 lines
489 B
Makefile
18 lines
489 B
Makefile
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
|
|
obj-$(CONFIG_SPL_SPI_SUNXI) += sunxi_spi_spl.o
|
|
endif
|
|
|
|
obj-$(CONFIG_SPI_FLASH) += sf_probe.o spi_flash.o sf_params.o sf.o
|
|
obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
|
|
obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
|
|
obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
|