mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
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 <evrinoma@gmail.com> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:

committed by
Stefan Tauner

parent
0ec2f7e7e0
commit
c80c4a35a0
@ -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);
|
||||
|
Reference in New Issue
Block a user