path: root/flashrom.c
diff options
authorUwe Hermann <>2010-08-08 17:01:18 +0000
committerUwe Hermann <>2010-08-08 17:01:18 +0000
commit48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79 (patch)
tree2a69d7e58effcb8eaeea3240d80df42806c88d3a /flashrom.c
parent7507de451be109386668332e64ea1febe213d190 (diff)
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 <> Acked-by: Uwe Hermann <>
Diffstat (limited to 'flashrom.c')
1 files changed, 3 insertions, 3 deletions
diff --git a/flashrom.c b/flashrom.c
index 2690151..45d086d 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -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.
OpenPOWER on IntegriCloud