aboutsummaryrefslogtreecommitdiffstats
path: root/bitbang_spi.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-08-05 23:28:47 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2014-08-05 23:28:47 +0000
commit7608d368fcd566a60ab47755eb1c9263ca9d7b35 (patch)
tree89281c1e08bcc265ac38ba1f1497462f97627fbc /bitbang_spi.c
parent18f509780a3eb76ffe31b4bfc24016c408dec537 (diff)
downloadflashrom-7608d368fcd566a60ab47755eb1c9263ca9d7b35.tar.gz
flashrom-7608d368fcd566a60ab47755eb1c9263ca9d7b35.tar.bz2
flashrom-7608d368fcd566a60ab47755eb1c9263ca9d7b35.zip
ichspi: fix missing set_addr on erases and possible crossings of 256 B boundaries
Apparently the erase function did never set any address before issuing the erase commands. How could this ever work? Also, according to PCH documentation crossing 256 byte boundaries is invalid and may cause wraparound due to the flash chip's pages. Check for this on reads as well as writes. Thanks to Vladimir 'φ-coder/phcoder' Serbinenko for noticing these issues and providing the initial patch. Corresponding to flashrom svn r1837. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'bitbang_spi.c')
0 files changed, 0 insertions, 0 deletions