summaryrefslogtreecommitdiffstats
path: root/internal.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-03-13 17:28:29 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-03-13 17:28:29 +0000
commit439597032eae0f41745d9173805945c5c85475eb (patch)
tree76c0a1816f51012775006aa8c82bdfe78901b5ab /internal.c
parent645c6df21a9570da7f8ac07fe740a0df3a1d4d1c (diff)
downloadast2050-flashrom-439597032eae0f41745d9173805945c5c85475eb.zip
ast2050-flashrom-439597032eae0f41745d9173805945c5c85475eb.tar.gz
Various coding style and cosmetic changes
- Fix coding-style, whitespace, and indentation in a few places. - Consistently use the same spelling ("Super I/O") everywhere. Corresponding to flashrom svn r933. - Make some flashrom stdout output look a bit nicer. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'internal.c')
-rw-r--r--internal.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/internal.c b/internal.c
index 0afed72..e2444fd 100644
--- a/internal.c
+++ b/internal.c
@@ -105,7 +105,8 @@ int force_boardenable = 0;
void probe_superio(void)
{
superio = probe_superio_ite();
-#if 0 /* Winbond SuperI/O code is not yet available. */
+#if 0
+ /* Winbond Super I/O code is not yet available. */
if (superio.vendor == SUPERIO_VENDOR_NONE)
superio = probe_superio_winbond();
#endif
@@ -150,17 +151,17 @@ int internal_init(void)
coreboot_init();
dmi_init();
- /* Probe for the SuperI/O chip and fill global struct superio. */
+ /* Probe for the Super I/O chip and fill global struct superio. */
probe_superio();
- /* Warn if a laptop is detected */
+ /* Warn if a laptop is detected. */
if (is_laptop)
printf("========================================================================\n"
"WARNING! You seem to be running flashrom on a laptop.\n"
"Laptops, notebooks and netbooks are difficult to support and we recommend\n"
"to use the vendor flashing utility. The embedded controller (EC) in these\n"
- "machines often interacts badly with flashing\n"
- "See http://www.flashrom.org/Laptops\n"
+ "machines often interacts badly with flashing.\n"
+ "See http://www.flashrom.org/Laptops for details.\n"
"========================================================================\n");
/* try to enable it. Failure IS an option, since not all motherboards
OpenPOWER on IntegriCloud