From 7bf4ed9277bb724e9a9aac762dc69f3e3c48f748 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sun, 26 Aug 2012 21:04:27 +0000 Subject: 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 Acked-by: Stefan Tauner --- flashchips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flashchips.c') diff --git a/flashchips.c b/flashchips.c index 789f17f9..f658b4c5 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}, -- cgit v1.2.3