summaryrefslogtreecommitdiffstats
path: root/sharplhf00l04.c
diff options
context:
space:
mode:
authorSean Nelson <audiohacked@gmail.com>2010-03-19 18:47:06 +0000
committerSean Nelson <audiohacked@gmail.com>2010-03-19 18:47:06 +0000
commit9242063c6ca6d0aa3961931c644e47bf21981909 (patch)
treed51077c5234c888ac4d696e94bcc8f5cb0b0b90a /sharplhf00l04.c
parent723649bc8f5abd27146ef85d82cb53b6e08e2ac7 (diff)
downloadflashrom-9242063c6ca6d0aa3961931c644e47bf21981909.zip
flashrom-9242063c6ca6d0aa3961931c644e47bf21981909.tar.gz
Rename print_82802ab_status to print_status_82802ab add unlock_82802ab
Strip unlock code from erase_block_82802ab rename erase_82802ab_block to erase_block_80280ab delete sharplhf00l04.o from Makefile delete *_lhf00l04* from chipdrivers.h add unlock_stm50flw0x0x delete wait_stm50flw0x0x delete write_page_stm50flw0x0x convert erase_stm50flw0x0x to erase_chip_stm50flw0x0x delete write_stm50flw0x0x add unlock_82802ab to two Intel chips with TEST_BAD_WRITE change the status of 82802AB, 82802AC, M50FW040, M50FW080 to TEST_OK_PR Corresponding to flashrom svn r948. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'sharplhf00l04.c')
-rw-r--r--sharplhf00l04.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sharplhf00l04.c b/sharplhf00l04.c
index 659f129..3f5cf3d 100644
--- a/sharplhf00l04.c
+++ b/sharplhf00l04.c
@@ -36,7 +36,7 @@ int erase_lhf00l04_block(struct flashchip *flash, unsigned int blockaddr, unsign
chip_writeb(0x50, bios);
printf("Erase at 0x%lx\n", bios);
status = wait_82802ab(flash->virtual_memory);
- print_82802ab_status(status);
+ print_status_82802ab(status);
// clear write protect
printf("write protect is at 0x%lx\n", (wrprotect));
printf("write protect is 0x%x\n", chip_readb(wrprotect));
@@ -49,7 +49,7 @@ int erase_lhf00l04_block(struct flashchip *flash, unsigned int blockaddr, unsign
programmer_delay(10);
// now let's see what the register is
status = wait_82802ab(flash->virtual_memory);
- print_82802ab_status(status);
+ print_status_82802ab(status);
printf("DONE BLOCK 0x%x\n", blockaddr);
if (check_erased_range(flash, blockaddr, blocklen)) {
OpenPOWER on IntegriCloud