mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
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>
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user