summaryrefslogtreecommitdiffstats
path: root/at25.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-26 21:04:27 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-26 21:04:27 +0000
commit7bf4ed9277bb724e9a9aac762dc69f3e3c48f748 (patch)
tree7e62857578038b7f38bdced15abd7b869640ccc0 /at25.c
parent62218c39de75bb19adaad16b843757adbe272aad (diff)
downloadast2050-flashrom-7bf4ed9277bb724e9a9aac762dc69f3e3c48f748.zip
ast2050-flashrom-7bf4ed9277bb724e9a9aac762dc69f3e3c48f748.tar.gz
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>
Diffstat (limited to 'at25.c')
-rw-r--r--at25.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/at25.c b/at25.c
index 817e769..803e7e4 100644
--- a/at25.c
+++ b/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.
OpenPOWER on IntegriCloud