-
- Downloads
sandbox: spi: Add new SPI flash driver
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>
Showing
- board/sandbox/sandbox/README.sandbox 54 additions, 0 deletionsboard/sandbox/sandbox/README.sandbox
- doc/SPI/README.sandbox-spi 64 additions, 0 deletionsdoc/SPI/README.sandbox-spi
- drivers/mtd/spi/Makefile 1 addition, 0 deletionsdrivers/mtd/spi/Makefile
- drivers/mtd/spi/sandbox.c 483 additions, 0 deletionsdrivers/mtd/spi/sandbox.c
- drivers/mtd/spi/sf_internal.h 1 addition, 0 deletionsdrivers/mtd/spi/sf_internal.h
- drivers/mtd/spi/sf_probe.c 2 additions, 1 deletiondrivers/mtd/spi/sf_probe.c
Loading
Please register or sign in to comment