diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-08-08 17:01:18 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-08-08 17:01:18 +0000 |
commit | 48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79 (patch) | |
tree | 2a69d7e58effcb8eaeea3240d80df42806c88d3a /flashrom.c | |
parent | 7507de451be109386668332e64ea1febe213d190 (diff) | |
download | ast2050-flashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.zip ast2050-flashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.tar.gz |
Various cosmetic and coding-style fixes
- Fix incorrect whitespace, indentation, and coding style in some places.
- Drop '/**' Doxygen comments, we don't use Doxygen. Even if we would use
it, the comments are useless as we don't have any Doxygen markup in there.
- Use consistent vendor name spelling as per current website (NVIDIA,
abit, GIGABYTE).
- Use consistent / common format for "Suited for:" lines in board_enable.c.
- Add some missing 'void's in functions taking no arguments.
- Add missing fullstops in sentences, remove them from non-sentences (lists).
Corresponding to flashrom svn r1134.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -98,7 +98,7 @@ static char *programmer_param = NULL; /* Supported buses for the current programmer. */ enum chipbustype buses_supported; -/** +/* * Programmers supporting multiple buses can have differing size limits on * each bus. Store the limits for each bus in a common struct. */ @@ -685,7 +685,7 @@ int check_erased_range(struct flashchip *flash, int start, int len) return ret; } -/** +/* * @cmpbuf buffer to compare against, cmpbuf[0] is expected to match the flash content at location start * @start offset to the base address of the flash chip @@ -765,7 +765,7 @@ out_free: return ret; } -/** +/* * Check if the buffer @have can be programmed to the content of @want without * erasing. This is only possible if all chunks of size @gran are either kept * as-is or changed from an all-ones state to any other state. |