path: root/flash.h
diff options
authorUwe Hermann <>2009-06-28 23:26:37 +0000
committerUwe Hermann <>2009-06-28 23:26:37 +0000
commit1432a60c85ca4ccaeaf56cfa779fa71059c41483 (patch)
treec488aa48d79f0051e1133693271fac3f41d63e30 /flash.h
parent9899cadcd8cb89fc675d38e59cad73641ddc565c (diff)
Random minor flashrom fixes
- Properly escape '-' chars in manpage. - Fix typo in chipset_enable.c. - Drop useless 'return' in chip_readn(). - Random other whitespace or cosmetic fixes. Corresponding to flashrom svn r636. Signed-off-by: Uwe Hermann <> Acked-by: Uwe Hermann <>
Diffstat (limited to 'flash.h')
1 files changed, 2 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index 0f6b16d..4649bba 100644
--- a/flash.h
+++ b/flash.h
@@ -590,11 +590,12 @@ int erase_stm50flw0x0x(struct flashchip *flash);
int write_stm50flw0x0x(struct flashchip *flash, uint8_t *buf);
/* serprog.c */
-extern char* serprog_param;
+extern char *serprog_param;
int serprog_init(void);
int serprog_shutdown(void);
void serprog_chip_writeb(uint8_t val, chipaddr addr);
uint8_t serprog_chip_readb(const chipaddr addr);
void serprog_chip_readn(uint8_t *buf, const chipaddr addr, size_t len);
void serprog_delay(int delay);
#endif /* !__FLASH_H__ */
OpenPOWER on IntegriCloud