Commit 4e54de94 authored by Sean Nelson's avatar Sean Nelson
Browse files

In unlock_28f004s5, variable 'i' needs to be int...


Corresponding to flashrom svn r967.
Signed-off-by: default avatarSean Nelson <audiohacked@gmail.com>
Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
parent 8864710c
......@@ -209,7 +209,8 @@ int write_82802ab(struct flashchip *flash, uint8_t *buf)
int unlock_28f004s5(struct flashchip *flash)
{
chipaddr bios = flash->virtual_memory;
uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0, i;
uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0;
int i;
/* Clear status register */
chip_writeb(0x50, bios);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment