mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
210d8ad0fa
spi_write_then_read, will manage to do the respective spi_xfer based on the tx_buf, rx_buf so drop the legacy spi_flash_read/write/cm code. Tested-by: Adam Ford <aford173@gmail.com> #da850-evm Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
23 lines
584 B
Makefile
23 lines
584 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
obj-$(CONFIG_DM_SPI_FLASH) += sf-uclass.o
|
|
spi-nor-y := sf_probe.o spi-nor-ids.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
|
|
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
|
|
endif
|
|
|
|
obj-$(CONFIG_SPI_FLASH) += spi-nor.o
|
|
obj-$(CONFIG_SPI_FLASH_DATAFLASH) += sf_dataflash.o
|
|
obj-$(CONFIG_SPI_FLASH_MTD) += sf_mtd.o
|
|
obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
|