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>
This commit is contained in:
parent
5bc61dafd1
commit
b9585c5cc8
|
@ -104,7 +104,7 @@ pciutils:
|
||||||
@printf "\nChecking for pciutils and zlib... "
|
@printf "\nChecking for pciutils and zlib... "
|
||||||
@echo "$$LIBPCI_TEST" > .test.c
|
@echo "$$LIBPCI_TEST" > .test.c
|
||||||
@$(CC) $(CFLAGS) .test.c -o .test $(LIBS) >/dev/null 2>&1 && \
|
@$(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 "Please install pciutils-devel and zlib-devel.\n"; \
|
||||||
printf "See README for more information.\n\n"; \
|
printf "See README for more information.\n\n"; \
|
||||||
rm -f .test.c .test; exit 1)
|
rm -f .test.c .test; exit 1)
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
#define DEVICE_ID_REG_OLD 0x0d
|
#define DEVICE_ID_REG_OLD 0x0d
|
||||||
#define DEVICE_REV_REG_OLD 0x0e
|
#define DEVICE_REV_REG_OLD 0x0e
|
||||||
|
|
||||||
#define DEVICE_ID_REG 0x20
|
#define DEVICE_ID_REG 0x20
|
||||||
#define DEVICE_REV_REG 0x21
|
#define DEVICE_REV_REG 0x21
|
||||||
|
|
||||||
static const struct superio_registers reg_table[] = {
|
static const struct superio_registers reg_table[] = {
|
||||||
/* The following Super I/Os use the 0x20/0x21 ID registers. */
|
/* The following Super I/Os use the 0x20/0x21 ID registers. */
|
||||||
|
|
|
@ -133,7 +133,7 @@ and print its vendor, name, ID, revision, and config port.\n"
|
||||||
#define MAXLDN 0x14 /* Biggest LDN */
|
#define MAXLDN 0x14 /* Biggest LDN */
|
||||||
#define LDNSIZE (MAXLDN + 3) /* Biggest LDN + 0 + NOLDN + EOT */
|
#define LDNSIZE (MAXLDN + 3) /* Biggest LDN + 0 + NOLDN + EOT */
|
||||||
#define MAXNUMIDX 170 /* Maximum number of indices */
|
#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 */
|
#define MAXNUMPORTS (6 + 1) /* Maximum number of Super I/O ports */
|
||||||
|
|
||||||
/* Select registers for various components. */
|
/* Select registers for various components. */
|
||||||
|
|
|
@ -229,8 +229,8 @@ static const struct superio_registers reg_table[] = {
|
||||||
{0x00,0x48,0x48,0x48,0x48,0x00,0x00,0x48,0x00,0x00,
|
{0x00,0x48,0x48,0x48,0x48,0x00,0x00,0x48,0x00,0x00,
|
||||||
EOT}},
|
EOT}},
|
||||||
{EOT}}},
|
{EOT}}},
|
||||||
{0xa23, "W83627UHG = NCT6627UD", { /* TODO: Not yet in sensors-detect */
|
{0xa23, "W83627UHG = NCT6627UD", { /* TODO: Not yet in sensors-detect */
|
||||||
{NOLDN, NULL, /* CR2B (485) is only valid for chip rev.E */
|
{NOLDN, NULL, /* CR2B (485) is only valid for chip rev.E */
|
||||||
{0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
|
{0x02,0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28,
|
||||||
0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
|
0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f,EOT},
|
||||||
{0x00,0xa2,NANA,0xff,0xF0,MISC,0x00,MISC,RSVD,0x00,
|
{0x00,0xa2,NANA,0xff,0xF0,MISC,0x00,MISC,RSVD,0x00,
|
||||||
|
|
Loading…
Reference in New Issue