diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-28 23:26:37 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-06-28 23:26:37 +0000 |
commit | c5da9bea35152c862826f896f4a80dc0d1620b3a (patch) | |
tree | c488aa48d79f0051e1133693271fac3f41d63e30 /flash.h | |
parent | 22d645c7915da4245583bc65dd502b2bf4695578 (diff) | |
download | flashrom-c5da9bea35152c862826f896f4a80dc0d1620b3a.zip flashrom-c5da9bea35152c862826f896f4a80dc0d1620b3a.tar.gz |
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 <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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__ */ |