mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-10 14:53:26 +09:00
![Mike Frysinger](/assets/img/avatar_default.png)
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>
18 lines
456 B
Makefile
18 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
|