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>
diff --git a/util/cbfstool/cbfs-mkstage.c b/util/cbfstool/cbfs-mkstage.c
index c9163ef..6b80a37 100644
--- a/util/cbfstool/cbfs-mkstage.c
+++ b/util/cbfstool/cbfs-mkstage.c
@@ -36,7 +36,7 @@
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 5bff0c2..0f5b891 100644
--- a/util/ectool/ec.c
+++ b/util/ectool/ec.c
@@ -126,7 +126,7 @@
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 204c449..eb91b2c 100644
--- a/util/ifdtool/ifdtool.c
+++ b/util/ifdtool/ifdtool.c
@@ -311,7 +311,7 @@
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 6d42cb5..9a39a0c 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 bc929da..11a1a70 100644
--- a/util/nvramtool/cli/nvramtool.c
+++ b/util/nvramtool/cli/nvramtool.c
@@ -140,13 +140,13 @@
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
old mode 100755
new mode 100644
diff --git a/util/sconfig/sconfig.h b/util/sconfig/sconfig.h
old mode 100755
new mode 100644
diff --git a/util/superiotool/amd.c b/util/superiotool/amd.c
index 1c03523..5041ba8 100644
--- a/util/superiotool/amd.c
+++ b/util/superiotool/amd.c
@@ -90,7 +90,7 @@
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 72bcad9..6a1a75c 100644
--- a/util/superiotool/nuvoton.c
+++ b/util/superiotool/nuvoton.c
@@ -257,7 +257,7 @@
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);