Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/23529
Change subject: mainboard/gigabyte/ga_2761gxdk: Remove unnecessary braces {} ......................................................................
mainboard/gigabyte/ga_2761gxdk: Remove unnecessary braces {}
Fix coding style
Change-Id: Id1c7104eb8520f20c826f5936029739a093d4dba Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/gigabyte/ga_2761gxdk/mptable.c 1 file changed, 6 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/23529/1
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c b/src/mainboard/gigabyte/ga_2761gxdk/mptable.c index 1544205..991f24e 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/mptable.c @@ -88,17 +88,16 @@ PCI_INT(0, sbdn+5, 2, 0x15); // 21 PCI_INT(0, sbdn+8, 0, 0x16); // 22
- for(j = 7; j >= 2; j--) { - if(!bus_sis966[j]) continue; - for(i = 0; i < 4; i++) { + for (j = 7; j >= 2; j--) { + if (!bus_sis966[j]) + continue; + for (i = 0; i < 4; i++) PCI_INT(j, 0x00, i, 0x10 + (2+j+i+4-sbdn%4)%4); - } }
- for(j = 0; j < 2; j++) - for(i = 0; i < 4; i++) { + for (j = 0; j < 2; j++) + for (i = 0; i < 4; i++) PCI_INT(1, 0x06+j, i, 0x10 + (2+i+j)%4); - }
/*Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#*/ mptable_lintsrc(mc, bus_isa);