mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Rename AT25F512B-specific code
The AT25F512B is quite different from the other (older and yet unsupported) chips in the AT25F* familiy, hence rename 512B-specific stuff to make room for the generic AT25F* code. Corresponding to flashrom svn r1583. 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:
4
at25.c
4
at25.c
@ -86,7 +86,7 @@ int spi_prettyprint_status_register_at25df_sec(struct flashctx *flash)
|
||||
return spi_prettyprint_status_register_at25df(flash);
|
||||
}
|
||||
|
||||
int spi_prettyprint_status_register_at25f(struct flashctx *flash)
|
||||
int spi_prettyprint_status_register_at25f512b(struct flashctx *flash)
|
||||
{
|
||||
uint8_t status;
|
||||
|
||||
@ -202,7 +202,7 @@ int spi_disable_blockprotect_at25df_sec(struct flashctx *flash)
|
||||
return spi_disable_blockprotect_at25df(flash);
|
||||
}
|
||||
|
||||
int spi_disable_blockprotect_at25f(struct flashctx *flash)
|
||||
int spi_disable_blockprotect_at25f512b(struct flashctx *flash)
|
||||
{
|
||||
/* spi_disable_blockprotect_at25df is not really the right way to do
|
||||
* this, but the side effects of said function work here as well.
|
||||
|
Reference in New Issue
Block a user