From e7bc4db23f5570c9092d5af4c90f584d31f8d9c2 Mon Sep 17 00:00:00 2001 From: uwe Date: Sat, 13 Mar 2010 17:28:29 +0000 Subject: Various coding style and cosmetic changes (trivial). - Fix coding-style, whitespace, and indentation in a few places. - Consistently use the same spelling ("Super I/O") everywhere. - Make some flashrom stdout output look a bit nicer. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@933 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- internal.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'internal.c') 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 -- cgit v1.2.1