summaryrefslogtreecommitdiffstats
path: root/82802ab.c
diff options
context:
space:
mode:
authorSean Nelson <audiohacked@gmail.com>2010-03-22 06:57:02 +0000
committerSean Nelson <audiohacked@gmail.com>2010-03-22 06:57:02 +0000
commitd6759b906b85b1d044549ab05210529aefc17524 (patch)
treef041c9db6f93706bf05306fa51589995469ebad9 /82802ab.c
parentfef5e0c0624f6eef87733faa4b9a4a9272d44ded (diff)
downloadflashrom-d6759b906b85b1d044549ab05210529aefc17524.zip
flashrom-d6759b906b85b1d044549ab05210529aefc17524.tar.gz
Fix a few typos from the last commit
Corresponding to flashrom svn r966. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to '82802ab.c')
-rw-r--r--82802ab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/82802ab.c b/82802ab.c
index 3aa76b4..68054e2 100644
--- a/82802ab.c
+++ b/82802ab.c
@@ -206,10 +206,10 @@ int write_82802ab(struct flashchip *flash, uint8_t *buf)
return 0;
}
-int unlock_28f004s5(struct flashrom *flash)
+int unlock_28f004s5(struct flashchip *flash)
{
chipaddr bios = flash->virtual_memory;
- uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0;
+ uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0, i;
/* Clear status register */
chip_writeb(0x50, bios);
OpenPOWER on IntegriCloud