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.
|
|
|
|
|
2020-06-04 15:11:53 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)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
|
2020-07-19 16:15:31 +00:00
|
|
|
ifeq ($(CONFIG_$(SPL_TPL_)SPI_FLASH_TINY),y)
|
2019-02-05 05:59:25 +00:00
|
|
|
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
|
2020-06-04 15:11:53 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)SPI_FLASH_MTD) += sf_mtd.o
|
2013-12-03 23:43:27 +00:00
|
|
|
obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
|
2023-01-17 17:48:03 +00:00
|
|
|
obj-$(CONFIG_$(SPL_TPL_)BOOTDEV_SPI_FLASH) += sf_bootdev.o
|