summaryrefslogtreecommitdiffstats
path: root/mcp6x_spi.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-08-08 17:01:18 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-08-08 17:01:18 +0000
commit48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79 (patch)
tree2a69d7e58effcb8eaeea3240d80df42806c88d3a /mcp6x_spi.c
parent7507de451be109386668332e64ea1febe213d190 (diff)
downloadflashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.tar.gz
flashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.tar.bz2
flashrom-48ec1b17d855ba0589487f6a5d5c6c0c61ed0b79.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcp6x_spi.c b/mcp6x_spi.c
index f3890be63..bfdef2d56 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. */