summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2014-02-10 11:46:52 +0100
committerMartin Roth <martinroth@google.com>2017-11-03 23:54:41 +0000
commit181231164529203baf9fde2b82f6994f4d2c1abc (patch)
treec56fa0ceba61966948db4acbdb92bc891242ff58
parent8fcd559ef9780bb1f8a81e4fcf2985782b01817a (diff)
southbridge: Remove trailing space in `dump_south()` output
Change-Id: I4df9f8ce1058a2bb219508d0c8d04e153d37131c Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/5179 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/southbridge/amd/cs5535/cs5535.c4
-rw-r--r--src/southbridge/via/vt8237r/vt8237r.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/amd/cs5535/cs5535.c b/src/southbridge/amd/cs5535/cs5535.c
index 2868683df7..67d7eee334 100644
--- a/src/southbridge/amd/cs5535/cs5535.c
+++ b/src/southbridge/amd/cs5535/cs5535.c
@@ -57,9 +57,9 @@ static void dump_south(struct device *dev)
int i, j;
for (i = 0; i < 256; i+=16) {
- printk(BIOS_DEBUG, "0x%02x: ", i);
+ printk(BIOS_DEBUG, "0x%02x:", i);
for (j = 0; j < 16; j++)
- printk(BIOS_DEBUG, "%02x ", pci_read_config8(dev, i+j));
+ printk(BIOS_DEBUG, " %02x", pci_read_config8(dev, i+j));
printk(BIOS_DEBUG, "\n");
}
}
diff --git a/src/southbridge/via/vt8237r/vt8237r.c b/src/southbridge/via/vt8237r/vt8237r.c
index f32aa3f835..e1a0e35a86 100644
--- a/src/southbridge/via/vt8237r/vt8237r.c
+++ b/src/southbridge/via/vt8237r/vt8237r.c
@@ -49,9 +49,9 @@ void dump_south(device_t dev)
int i, j;
for (i = 0; i < 256; i += 16) {
- printk(BIOS_DEBUG, "%02x: ", i);
+ printk(BIOS_DEBUG, "%02x:", i);
for (j = 0; j < 16; j++)
- printk(BIOS_DEBUG, "%02x ", pci_read_config8(dev, i + j));
+ printk(BIOS_DEBUG, " %02x", pci_read_config8(dev, i + j));
printk(BIOS_DEBUG, "\n");
}
}