2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-05-16 09:10:33 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
2014-10-14 05:42:06 +00:00
|
|
|
obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
|
2019-02-05 05:59:25 +00:00
|
|
|
spi-nor-y := sf_probe.o spi-nor-ids.o
|
2014-10-14 05:42:06 +00:00
|
|
|
|
2011-12-09 09:47:35 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2013-10-17 08:34:55 +00:00
|
|
|
obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
|
2019-02-05 05:59:25 +00:00
|
|
|
ifeq ($(CONFIG_SPL_SPI_FLASH_TINY),y)
|
|
|
|
spi-nor-y += spi-nor-tiny.o
|
|
|
|
else
|
|
|
|
spi-nor-y += spi-nor-core.o
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
spi-nor-y += spi-nor-core.o
|
2011-12-09 09:47:35 +00:00
|
|
|
endif
|
|
|
|
|
2019-02-05 05:59:25 +00:00
|
|
|
obj-$(CONFIG_SPI_FLASH) += spi-nor.o
|
2019-07-22 11:52:58 +00:00
|
|
|
obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
|
2019-10-23 07:41:20 +00:00
|
|
|
obj-$(CONFIG_$(SPL_)SPI_FLASH_MTD) += sf_mtd.o
|
2013-12-03 23:43:27 +00:00
|
|
|
obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
|