summaryrefslogtreecommitdiffstats
path: root/util/flashrom_partial_write_test.sh
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-11-01 22:07:04 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-11-01 22:07:04 +0000
commitf68aa8aca0a7e2852269f1b85b16535a3fb7cd14 (patch)
tree4c85236da301f711301b7a49b0c213e7d7e2ab37 /util/flashrom_partial_write_test.sh
parent04c8379e49ce843ac7235d9b1ffd98617724332e (diff)
downloadast2050-flashrom-f68aa8aca0a7e2852269f1b85b16535a3fb7cd14.zip
ast2050-flashrom-f68aa8aca0a7e2852269f1b85b16535a3fb7cd14.tar.gz
Add SPI flash emulation capability to the dummy programmer
You have to choose between - no emulation - ST M25P10.RES SPI flash chip (RES, page write) - SST SST25VF040.REMS SPI flash chip (REMS, byte write) - SST SST25VF032B SPI flash chip (RDID, AAI write) Example usage: flashrom -p dummy:emulate=SST25VF032B Flash image persistence is available as well. Example usage: flashrom -p dummy:image=dummy_simulator.rom Allow setting the max chunksize for page write with the dummy programmer. Example usage: flashrom -p dummy:spi_write_256_chunksize=5 Flash emulation is compiled in by default. This code helped me find and fix various bugs in the SPI write code as well as in the testsuite. Corresponding to flashrom svn r1220. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: David Hendricks <dhendrix@google.com>
Diffstat (limited to 'util/flashrom_partial_write_test.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud