summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-31 12:56:45 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-11-01 19:07:45 +0100
commit5ff7c13e858a31addf1558731a12cf6c753b576d (patch)
tree82ed6cf7b45f3a86c2c43ab87383355ed6012d6c /util
parent784544b934d67dc85ccfcf33e04ff148045836ad (diff)
remove trailing whitespace
Change-Id: Ib91889a374515d36a2b12b53aeb12b6ea6e22732 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/364 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util')
-rw-r--r--util/cbfstool/cbfs-mkstage.c2
-rw-r--r--util/ectool/ec.c2
-rw-r--r--util/ifdtool/ifdtool.c2
-rw-r--r--util/nvramtool/accessors/cmos-hw-unix.c2
-rw-r--r--util/nvramtool/cli/nvramtool.c4
-rw-r--r--[-rwxr-xr-x]util/sconfig/main.c0
-rw-r--r--[-rwxr-xr-x]util/sconfig/sconfig.h0
-rw-r--r--util/superiotool/amd.c2
-rw-r--r--util/superiotool/nuvoton.c2
9 files changed, 8 insertions, 8 deletions
diff --git a/util/cbfstool/cbfs-mkstage.c b/util/cbfstool/cbfs-mkstage.c
index c9163ef6cf..6b80a37dc5 100644
--- a/util/cbfstool/cbfs-mkstage.c
+++ b/util/cbfstool/cbfs-mkstage.c
@@ -36,7 +36,7 @@ unsigned int idemp(unsigned int x)
return x;
}
-/* This is a wrapper around the swab32() macro to make it
+/* This is a wrapper around the swab32() macro to make it
* usable for the current implementation of parse_elf_to_stage()
*/
static unsigned int swap32(unsigned int x)
diff --git a/util/ectool/ec.c b/util/ectool/ec.c
index 5bff0c2655..0f5b891d54 100644
--- a/util/ectool/ec.c
+++ b/util/ectool/ec.c
@@ -126,7 +126,7 @@ int ec_ext_write(uint16_t addr, uint8_t data)
send_ec_data(addr & 0xff);
send_ec_command(WX_EC);
send_ec_data(addr >> 8);
-
+
return send_ec_data(data);
}
diff --git a/util/ifdtool/ifdtool.c b/util/ifdtool/ifdtool.c
index 204c4492dc..eb91b2c432 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -311,7 +311,7 @@ void inject_region(char *filename, char *image, int size, int region_type,
exit(EXIT_FAILURE);
frba_t *frba =
(frba_t *) (image + (((fdb->flmap0 >> 16) & 0xff) << 4));
-
+
region_t region = get_region(frba, region_type);
if (region.size <= 0xfff) {
fprintf(stderr, "Region %s is disabled in target. Not injecting.\n",
diff --git a/util/nvramtool/accessors/cmos-hw-unix.c b/util/nvramtool/accessors/cmos-hw-unix.c
index 6d42cb57ee..9a39a0c686 100644
--- a/util/nvramtool/accessors/cmos-hw-unix.c
+++ b/util/nvramtool/accessors/cmos-hw-unix.c
@@ -18,7 +18,7 @@
#include <DirectHW/DirectHW.h>
#endif
#if defined(__NetBSD__)
-#if defined(__i386__) || defined(__x86_64__)
+#if defined(__i386__) || defined(__x86_64__)
#include <machine/sysarch.h>
static inline void outb(uint8_t value, uint16_t port)
diff --git a/util/nvramtool/cli/nvramtool.c b/util/nvramtool/cli/nvramtool.c
index bc929da698..11a1a702af 100644
--- a/util/nvramtool/cli/nvramtool.c
+++ b/util/nvramtool/cli/nvramtool.c
@@ -140,13 +140,13 @@ int main(int argc, char *argv[])
fprintf(stderr, "Couldn't stat '%s'\n", nvramtool_op_modifiers[NVRAMTOOL_MOD_USE_CMOS_FILE].param);
exit(1);
}
-
+
if (fd_stat.st_size < 128) {
lseek(fd, 127, SEEK_SET);
write(fd, "\0", 1);
fsync(fd);
}
-
+
cmos_default = mmap(NULL, 128, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
if (cmos_default == MAP_FAILED) {
fprintf(stderr, "Couldn't map '%s'\n", nvramtool_op_modifiers[NVRAMTOOL_MOD_USE_CMOS_FILE].param);
diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index dab04db321..dab04db321 100755..100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
diff --git a/util/sconfig/sconfig.h b/util/sconfig/sconfig.h
index d893c05395..d893c05395 100755..100644
--- a/util/sconfig/sconfig.h
+++ b/util/sconfig/sconfig.h
diff --git a/util/superiotool/amd.c b/util/superiotool/amd.c
index 1c035234b2..5041ba87c0 100644
--- a/util/superiotool/amd.c
+++ b/util/superiotool/amd.c
@@ -90,7 +90,7 @@ uint16_t detect_ec(void)
return 0;
ec_port = pci_read_word(dev, 0xa4);
-
+
if (!(ec_port & 0x1))
return 0;
diff --git a/util/superiotool/nuvoton.c b/util/superiotool/nuvoton.c
index 72bcad9546..6a1a75c0c5 100644
--- a/util/superiotool/nuvoton.c
+++ b/util/superiotool/nuvoton.c
@@ -257,7 +257,7 @@ void probe_idregs_nuvoton(uint16_t port)
chip_found = 1;
dump_superio("Nuvoton", reg_table, port, chip_id, LDN_SEL);
return;
- }
+ }
if (verbose)
printf(NOTFOUND "chip_id=0x%04x\n", chip_id);