mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
ffdb20bea1
This adds a SPI flash driver which simulates SPI flash clients. Currently supports the bare min that U-Boot requires: you can probe, read, erase, and write. Should be easy to extend to make it behave more exactly like a real SPI flash, but this is good enough to merge now. sjg@chromium.org added a README and tidied up code a little. Added a required map_sysmem() for sandbox. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Simon Glass <sjg@chromium.org>
17 lines
456 B
Makefile
17 lines
456 B
Makefile
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o
|
|
obj-$(CONFIG_SPL_SPI_BOOT) += fsl_espi_spl.o
|
|
endif
|
|
|
|
obj-$(CONFIG_CMD_SF) += sf.o
|
|
obj-$(CONFIG_SPI_FLASH) += sf_probe.o sf_ops.o
|
|
obj-$(CONFIG_SPI_FRAM_RAMTRON) += ramtron.o
|
|
obj-$(CONFIG_SPI_FLASH_SANDBOX) += sandbox.o
|
|
obj-$(CONFIG_SPI_M95XXX) += eeprom_m95xxx.o
|