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 | 23a6c0495367c33eb838ed03553f30b35b444b63 (patch) | |
tree | 2a69d7e58effcb8eaeea3240d80df42806c88d3a /mcp6x_spi.c | |
parent | b07b4d29e72cff588c2c4d6f320ee77fa527bf41 (diff) | |
download | flashrom-23a6c0495367c33eb838ed03553f30b35b444b63.zip flashrom-23a6c0495367c33eb838ed03553f30b35b444b63.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 'mcp6x_spi.c')
-rw-r--r-- | mcp6x_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp6x_spi.c b/mcp6x_spi.c index f3890be..bfdef2d 100644 --- a/mcp6x_spi.c +++ b/mcp6x_spi.c @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/* Driver for the Nvidia MCP6x/MCP7x MCP6X_SPI controller. +/* Driver for the NVIDIA MCP6x/MCP7x MCP6X_SPI controller. * Based on clean room reverse engineered docs from * http://www.flashrom.org/pipermail/flashrom/2009-December/001180.html * created by Michael Karcher. @@ -165,7 +165,7 @@ int mcp6x_spi_init(int want_spi) return 0; } /* Map the BAR. Bytewise/wordwise access at 0x530 and 0x540. */ - mcp6x_spibar = physmap("Nvidia MCP6x SPI", mcp6x_spibaraddr, 0x544); + mcp6x_spibar = physmap("NVIDIA MCP6x SPI", mcp6x_spibaraddr, 0x544); #if 0 /* FIXME: Run the physunmap in a shutdown function. */ |