• Mike Frysinger's avatar
    sandbox: spi: Add new SPI flash driver · ffdb20be
    Mike Frysinger authored
    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: default avatarMike Frysinger <vapier@gentoo.org>
    Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    ffdb20be
README.sandbox-spi 1.87 KB