diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-06-28 21:28:27 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-06-28 21:28:27 +0000 |
commit | 278ba6e96766f1d17202642a720f4e4eac007c74 (patch) | |
tree | f0520da2262238adda4fb28a94fda700722c5bf4 /hwaccess.h | |
parent | 682122bce7714e285d196be09d4c97666458c487 (diff) | |
download | flashrom-278ba6e96766f1d17202642a720f4e4eac007c74.tar.gz flashrom-278ba6e96766f1d17202642a720f4e4eac007c74.tar.bz2 flashrom-278ba6e96766f1d17202642a720f4e4eac007c74.zip |
Introduce additional SPI status register helpers
- spi_prettyprint_status_register_default_welwip():
It just prettyprints the plain hex value and the welwip bits.
- spi_prettyprint_status_register_default_bp4():
Prints the hex value, welwip, bp0-5 and srwd bits.
- spi_disable_blockprotect_bp2_srwd(),
- spi_disable_blockprotect_bp3_srwd() and
spi_disable_blockprotect_bp4_srwd():
Three new common block unprotection functions for the frequent
cases where there is a status register lock bit at bit #7 and some
block protection bits at bits #2-#4, #2-#5 and #2-#6 respectively.
Corresponding to flashrom svn r1681.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'hwaccess.h')
0 files changed, 0 insertions, 0 deletions