mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00
In unlock_28f004s5, variable 'i' needs to be int...
Corresponding to flashrom svn r967. Signed-off-by: Sean Nelson <audiohacked@gmail.com> Acked-by: Sean Nelson <audiohacked@gmail.com>
This commit is contained in:
parent
8864710cd5
commit
4e54de944d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user