[coreboot-gerrit] New patch to review for coreboot: 1357bf2 southbridge: Remove trailing space in `dump_south()` output

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Mon Feb 10 11:53:01 CET 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5179

-gerrit

commit 1357bf29bcda3958a3ee75ff65e8a1a14898ac7e
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Mon Feb 10 11:46:52 2014 +0100

    southbridge: Remove trailing space in `dump_south()` output
    
    Change-Id: I4df9f8ce1058a2bb219508d0c8d04e153d37131c
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 src/southbridge/amd/cs5535/cs5535.c   | 4 ++--
 src/southbridge/via/vt8235/vt8235.c   | 4 ++--
 src/southbridge/via/vt8237r/vt8237r.c | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/southbridge/amd/cs5535/cs5535.c b/src/southbridge/amd/cs5535/cs5535.c
index 42707c0..9130a68 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/vt8235/vt8235.c b/src/southbridge/via/vt8235/vt8235.c
index 4fa2784..b6d1a24 100644
--- a/src/southbridge/via/vt8235/vt8235.c
+++ b/src/southbridge/via/vt8235/vt8235.c
@@ -25,9 +25,9 @@ void dump_south(device_t dev0)
 	int i,j;
 
 	for(i = 0; i < 256; i += 16) {
-		printk(BIOS_DEBUG, "0x%x: ", i);
+		printk(BIOS_DEBUG, "0x%x:", i);
 		for(j = 0; j < 16; j++) {
-			printk(BIOS_DEBUG, "%02x ", pci_read_config8(dev0, i+j));
+			printk(BIOS_DEBUG, " %02x", pci_read_config8(dev0, i+j));
 		}
 		printk(BIOS_DEBUG, "\n");
 	}
diff --git a/src/southbridge/via/vt8237r/vt8237r.c b/src/southbridge/via/vt8237r/vt8237r.c
index 5f2449a..8848147 100644
--- a/src/southbridge/via/vt8237r/vt8237r.c
+++ b/src/southbridge/via/vt8237r/vt8237r.c
@@ -57,9 +57,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");
 	}
 }



More information about the coreboot-gerrit mailing list