summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-03-17 13:43:48 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-03-17 13:43:48 +0000
commit969a9f69e8b2c33068151fd9adaa20356a7bcf66 (patch)
tree552680ac968a9e0d29cdaaf7e8f0cfda9c8fec0a /util/superiotool/superiotool.h
parenta2ccf9fe4ef3f2736a336f861ffc37597829fcbc (diff)
downloadcoreboot-969a9f69e8b2c33068151fd9adaa20356a7bcf66.tar.xz
Various smaller fixes in superiotool:
- Also dump the extra registers (e.g. EC regs) in --list-supported. - Small fix in the code to allow for building with -pedantic (yes, the fix is a bit silly, but it's simple and allows us to use the -pedantic flag to keep the code even cleaner and nicer). - Install the binary in /usr/sbin, as it's meant to be run as root. - Small typo in README. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3163 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 6961325388..26851484c1 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -36,7 +36,9 @@
-l | --list-supported Show the list of supported Super I/O chips\n\
-V | --verbose Verbose mode\n\
-v | --version Show the superiotool version\n\
- -h | --help Show a short help text\n\n\
+ -h | --help Show a short help text\n\n"
+
+#define USAGE_INFO "\
Per default (no options) superiotool will just probe for a Super I/O\n\
and print its vendor, name, ID, revision, and config port.\n"
@@ -123,7 +125,6 @@ static const struct {
{probe_idregs_winbond, {0x2e, 0x4e, 0x3f0, 0x370, 0x250, EOT}},
};
-
/** Table of functions to print out supported Super I/O chips. */
static const struct {
void (*print_list) (void);