[coreboot-gerrit] Patch set updated for coreboot: northbridge/via: Add required space before opening parenthesis '('

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Tue Aug 23 21:28:18 CEST 2016


HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16284

-gerrit

commit 0bdc68b2ab4a8c63f0ff5885973169d8b7021569
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Tue Aug 23 21:24:38 2016 +0200

    northbridge/via: Add required space before opening parenthesis '('
    
    Change-Id: Ic644cf6792a5d360527e48e04c74ae92be0d1d4f
    Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
 src/northbridge/via/cx700/raminit.c         | 6 +++---
 src/northbridge/via/vx800/uma_ram_setting.c | 2 +-
 src/northbridge/via/vx800/vga.c             | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/northbridge/via/cx700/raminit.c b/src/northbridge/via/cx700/raminit.c
index 2016a87..7d3fcbe 100644
--- a/src/northbridge/via/cx700/raminit.c
+++ b/src/northbridge/via/cx700/raminit.c
@@ -79,10 +79,10 @@
 	do{											\
 		val = 0;									\
 		tmp = 0;									\
-		for(i = 0; i < 2; i++)	{							\
-			if(pci_read_config8(PCI_DEV(0, 0, 4), (SCRATCH_REG_BASE + (i << 1)))) {	\
+		for (i = 0; i < 2; i++)	{							\
+			if (pci_read_config8(PCI_DEV(0, 0, 4), (SCRATCH_REG_BASE + (i << 1)))) {	\
 				tmp = get_spd_data(ctrl, i, reg);				\
-				if(tmp > val)							\
+				if (tmp > val)							\
 					val = tmp;						\
 			}									\
 		}										\
diff --git a/src/northbridge/via/vx800/uma_ram_setting.c b/src/northbridge/via/vx800/uma_ram_setting.c
index 1aa0967..6cfb1b9 100644
--- a/src/northbridge/via/vx800/uma_ram_setting.c
+++ b/src/northbridge/via/vx800/uma_ram_setting.c
@@ -393,7 +393,7 @@ void SetUMARam(void)
 		0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
 	};
 
-	//for(i=0;i<0xc0;i++)
+	//for (i=0;i<0xc0;i++)
 	for (i = 0; i < 0x40; i++)
 	{
 		outb(table3c0space[i], 0x03c0 + i);
diff --git a/src/northbridge/via/vx800/vga.c b/src/northbridge/via/vx800/vga.c
index 606c345..f02236d 100644
--- a/src/northbridge/via/vx800/vga.c
+++ b/src/northbridge/via/vx800/vga.c
@@ -136,7 +136,7 @@ static void write_protect_vgabios(void)
 		pci_write_config8(dev, 0x80, 0xff);
 	/*vx855 no th 0x61 reg */
 	/*dev = dev_find_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855_VLINK, 0);
-	   //if(dev)
+	   //if (dev)
 	   //   pci_write_config8(dev, 0x61, 0xff); */
 }
 #endif



More information about the coreboot-gerrit mailing list