diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-06-28 21:28:43 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-06-28 21:28:43 +0000 |
commit | b6b00e99aac373176e612c79b4579c9e577bd2ed (patch) | |
tree | b5193c315ee7ea51071874ed8c30435a4aee7e71 /spi25_statusreg.c | |
parent | 579f1e0b67a49282684a39f6c08bcf0813bd3c5c (diff) | |
download | ast2050-flashrom-b6b00e99aac373176e612c79b4579c9e577bd2ed.zip ast2050-flashrom-b6b00e99aac373176e612c79b4579c9e577bd2ed.tar.gz |
Add support for Nantronics N25 series
Add...
- N25S10
- N25S20
- N25S40
- N25S80
- N25S16
Corresponding to flashrom svn r1683.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'spi25_statusreg.c')
-rw-r--r-- | spi25_statusreg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spi25_statusreg.c b/spi25_statusreg.c index e0ed690..5560f5b 100644 --- a/spi25_statusreg.c +++ b/spi25_statusreg.c @@ -223,10 +223,10 @@ static void spi_prettyprint_status_register_hex(uint8_t status) msg_cdbg("Chip status register is 0x%02x.\n", status); } -/* Common highest bit: Status Register Write Disable (SRWD). */ +/* Common highest bit: Status Register Write Disable (SRWD) or Status Register Protect (SRP). */ static void spi_prettyprint_status_register_srwd(uint8_t status) { - msg_cdbg("Chip status register: Status Register Write Disable (SRWD) is %sset\n", + msg_cdbg("Chip status register: Status Register Write Disable (SRWD, SRP, ...) is %sset\n", (status & (1 << 7)) ? "" : "not "); } |