Add/fix some LDN descriptions (trivial).
[coreboot.git] / util / superiotool / superiotool.h
index f67edcc328c5e619ed9c2bd805707e886aa4992d..ec0a55903b0f25f51e58806c1b0adf3a9b9ae220 100644 (file)
@@ -29,9 +29,8 @@
 #include <getopt.h>
 #include <sys/io.h>
 
-#define USAGE "Usage: superiotool [-d] [-D] [-V] [-v] [-h]\n\n\
-  -d | --dump            Dump Super I/O registers\n\
-  -D | --dump-readable   Dump Super I/O registers in human-readable format\n\
+#define USAGE "Usage: superiotool [-d] [-V] [-v] [-h]\n\n\
+  -d | --dump            Dump Super I/O register contents\n\
   -V | --verbose         Verbose mode\n\
   -v | --version         Show the superiotool version\n\
   -h | --help            Show a short help text\n\n\
@@ -55,7 +54,7 @@ and print its vendor, name, ID, revision, and config port.\n"
 #define MAXNUMPORTS    (6 + 1)         /* Maximum number of Super I/O ports */
 
 /* Command line parameters. */
-extern int dump, dump_readable, verbose;
+extern int dump, verbose;
 
 extern int chip_found;
 
@@ -80,7 +79,6 @@ const char *get_superio_name(const struct superio_registers reg_table[],
                             uint16_t id);
 void dump_superio(const char *name, const struct superio_registers reg_table[],
                  uint16_t port, uint16_t id);
-void dump_superio_readable(uint16_t port);
 void probing_for(const char *vendor, const char *info, uint16_t port);
 
 /* ali.c */
@@ -102,7 +100,7 @@ void probe_idregs_smsc(uint16_t port);
 void probe_idregs_winbond(uint16_t port);
 
 /** Table of which config ports to probe for each Super I/O family. */
-const static struct {
+static const struct {
        void (*probe_idregs) (uint16_t port);
        int ports[MAXNUMPORTS]; /* Signed, as we need EOT. */
 } superio_ports_table[] = {