summaryrefslogtreecommitdiff
path: root/util/superiotool
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-29 22:23:48 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-04 09:10:32 +0000
commitb9585c5cc8a7a2f768dc6139d2fb1180fcaf1271 (patch)
treed02eed77eeaef829887c938be7636ae88455bb80 /util/superiotool
parent5bc61dafd14748e21c5065943cb8e1af30601f4b (diff)
util/superiotool: Remove whitespace before tab
Change-Id: Ie79cfb92cfb8b8f628aa4b12bba946b0479fc466 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26668 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/superiotool')
-rw-r--r--util/superiotool/Makefile2
-rw-r--r--util/superiotool/smsc.c4
-rw-r--r--util/superiotool/superiotool.h2
-rw-r--r--util/superiotool/winbond.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index f05e1f9d1f..cedd63128f 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -104,7 +104,7 @@ pciutils:
@printf "\nChecking for pciutils and zlib... "
@echo "$$LIBPCI_TEST" > .test.c
@$(CC) $(CFLAGS) .test.c -o .test $(LIBS) >/dev/null 2>&1 && \
- printf "found.\n" || ( printf "not found.\n\n"; \
+ printf "found.\n" || ( printf "not found.\n\n"; \
printf "Please install pciutils-devel and zlib-devel.\n"; \
printf "See README for more information.\n\n"; \
rm -f .test.c .test; exit 1)
diff --git a/util/superiotool/smsc.c b/util/superiotool/smsc.c
index 640f4382c5..21763ec3c1 100644
--- a/util/superiotool/smsc.c
+++ b/util/superiotool/smsc.c
@@ -20,8 +20,8 @@
#define DEVICE_ID_REG_OLD 0x0d
#define DEVICE_REV_REG_OLD 0x0e
-#define DEVICE_ID_REG 0x20
-#define DEVICE_REV_REG 0x21
+#define DEVICE_ID_REG 0x20
+#define DEVICE_REV_REG 0x21
static const struct superio_registers reg_table[] = {
/* The following Super I/Os use the 0x20/0x21 ID registers. */
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 01237a58e4..ed7beae6b8 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -133,7 +133,7 @@ and print its vendor, name, ID, revision, and config port.\n"
#define MAXLDN 0x14 /* Biggest LDN */
#define LDNSIZE (MAXLDN + 3) /* Biggest LDN + 0 + NOLDN + EOT */
#define MAXNUMIDX 170 /* Maximum number of indices */
-#define IDXSIZE (MAXNUMIDX + 1)
+#define IDXSIZE (MAXNUMIDX + 1)
#define MAXNUMPORTS (6 + 1) /* Maximum number of Super I/O ports */
/* Select registers for various components. */
diff --git a/util/superiotool/winbond.c b/util/superiotool/winbond.c
index 281c179c3a..fce860d2e2 100644
--- a/util/superiotool/winbond.c
+++ b/util/superiotool/winbond.c
@@ -229,8 +229,8 @@ static const struct superio_registers reg_table[] = {
{0x00,0x48,0x48,0x48,0x48,0x00,0x00,0x48,0x00,0x00,
EOT}},
{EOT}}},
- {0xa23, "W83627UHG = NCT6627UD", { /* TODO: Not yet in sensors-detect */
- {NOLDN, NULL, /* CR2B (485) is only valid for chip rev.E */
+ {0xa23, "W83627UHG = NCT6627UD", { /* TODO: Not yet in sensors-detect */
+ {NOLDN, NULL, /* CR2B (485) is only valid for chip rev.E */
{0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
{0x00,0xa2,NANA,0xff,0xF0,MISC,0x00,MISC,RSVD,0x00,