summaryrefslogtreecommitdiffstats
path: root/flashchips.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 /flashchips.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 'flashchips.c')
-rw-r--r--flashchips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flashchips.c b/flashchips.c
index 789f17f..f658b4c 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -1697,8 +1697,8 @@ const struct flashchip flashchips[] = {
.block_erase = spi_block_erase_c7,
}
},
- .printlock = spi_prettyprint_status_register_at25f,
- .unlock = spi_disable_blockprotect_at25f,
+ .printlock = spi_prettyprint_status_register_at25f512b,
+ .unlock = spi_disable_blockprotect_at25f512b,
.write = spi_chip_write_256,
.read = spi_chip_read,
.voltage = {2700, 3600},
OpenPOWER on IntegriCloud