1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +02:00

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>
This commit is contained in:
Sean Nelson 2010-03-22 06:57:02 +00:00
parent dee4a83e1c
commit 8864710cd5
2 changed files with 3 additions and 2 deletions

View File

@ -206,10 +206,10 @@ int write_82802ab(struct flashchip *flash, uint8_t *buf)
return 0; return 0;
} }
int unlock_28f004s5(struct flashrom *flash) int unlock_28f004s5(struct flashchip *flash)
{ {
chipaddr bios = flash->virtual_memory; 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 */ /* Clear status register */
chip_writeb(0x50, bios); chip_writeb(0x50, bios);

View File

@ -62,6 +62,7 @@ int write_82802ab(struct flashchip *flash, uint8_t *buf);
void print_status_82802ab(uint8_t status); void print_status_82802ab(uint8_t status);
void write_page_82802ab(chipaddr bios, uint8_t *src, chipaddr dst, int page_size); void write_page_82802ab(chipaddr bios, uint8_t *src, chipaddr dst, int page_size);
int unlock_82802ab(struct flashchip *flash); int unlock_82802ab(struct flashchip *flash);
int unlock_28f004s5(struct flashchip *flash);
/* jedec.c */ /* jedec.c */
uint8_t oddparity(uint8_t val); uint8_t oddparity(uint8_t val);