* Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net [071018 01:59]:
My new version is way more generic and hopefully works as well. Can you test and give me an Acked-by: line?
I did not test, but please check this in. We can and will fix and improve this later as problems or ideas occur...
Add generic SPI flash erase and write support to flashrom. The first chip the code was tested and verified with is the Macronix MX25L4005, but other chips should work as well. Timeouts are still hardcoded to data sheet maxima, but the status register checking code is already there. Thanks to Harald Gutmann for the initial code on which this is loosely based.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Acked-by: Stefan Reinauer stepan@coresystems.de