From c80c4a35a0d4eb51c142fc53ee4ae6d82f4dc37a Mon Sep 17 00:00:00 2001 From: Nikolay Nikolaev Date: Fri, 28 Jun 2013 21:29:44 +0000 Subject: Add support for Spansion S25FL...S chips Add... - S25FL128S - S25FL256S uniform version (defunct due to addressing) - S25FL512S uniform version (defunct due to addressing) Merge Intel S33 status register functions with this one's. Corresponding to flashrom svn r1692. Signed-off-by: Nikolay Nikolaev Signed-off-by: Stefan Tauner Acked-by: Stefan Tauner --- spi25_statusreg.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'spi25_statusreg.c') diff --git a/spi25_statusreg.c b/spi25_statusreg.c index 6b4e516b..09fa0575 100644 --- a/spi25_statusreg.c +++ b/spi25_statusreg.c @@ -605,15 +605,17 @@ int spi_prettyprint_status_register_en25s_wp(struct flashctx *flash) return 0; } -/* === Intel === */ +/* === Intel/Numonyx/Micron - Spansion === */ +/* Used by Intel/Numonyx S33 and Spansion S25FL-S chips */ /* TODO: Clear P_FAIL and E_FAIL with Clear SR Fail Flags Command (30h) here? */ -int spi_disable_blockprotect_s33(struct flashctx *flash) +int spi_disable_blockprotect_bp2_ep_srwd(struct flashctx *flash) { return spi_disable_blockprotect_bp2_srwd(flash); } -int spi_prettyprint_status_register_s33(struct flashctx *flash) +/* Used by Intel/Numonyx S33 and Spansion S25FL-S chips */ +int spi_prettyprint_status_register_bp2_ep_srwd(struct flashctx *flash) { uint8_t status = spi_read_status_register(flash); msg_cdbg("Chip status register is %02x\n", status); -- cgit v1.2.3