From d0d7c0158d71b0fc8a358d768bc6a531a6931d71 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 3 Feb 2010 22:07:57 +0000 Subject: Supermicro H8QME-2+ (Fam10) whitespace fixes (trivial). This makes the code more similar to the h8dmr_fam10 target in order to make the diff between both smaller and more readable. Build-tested with newconfig and kconfig. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5080 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- .../supermicro/h8qme_fam10/get_bus_conf.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c') diff --git a/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c b/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c index bfadeef0f6..effb614cf2 100644 --- a/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c +++ b/src/mainboard/supermicro/h8qme_fam10/get_bus_conf.c @@ -62,8 +62,7 @@ static unsigned hcdnx[] = { 0x20202020, 0x20202020, }; -unsigned sbdn3; - +unsigned sbdn3; extern void get_pci1234(void); @@ -99,9 +98,8 @@ void get_bus_conf(void) sysconf.sbdn = (sysconf.hcdn[0] & 0xff); // first byte of first chain m->bus_mcp55[0] = (sysconf.pci1234[0] >> 12) & 0xff; - - m->bus_8132_0 = (sysconf.pci1234[1] >> 12) & 0xff; - sbdn3 =(sysconf.hcdn[1] & 0xff); // first byte of second chain + m->bus_8132_0 = (sysconf.pci1234[1] >> 12) & 0xff; + sbdn3 = (sysconf.hcdn[1] & 0xff); // first byte of second chain /* MCP55 */ dev = dev_find_slot(m->bus_mcp55[0], PCI_DEVFN(sysconf.sbdn + 0x06,0)); @@ -123,21 +121,21 @@ void get_bus_conf(void) } } -/*8132_1*/ + /* 8132_1 */ - dev = dev_find_slot(m->bus_8132_0, PCI_DEVFN(sbdn3,0)); - m->bus_8132_1 = pci_read_config8(dev, PCI_SECONDARY_BUS); + dev = dev_find_slot(m->bus_8132_0, PCI_DEVFN(sbdn3, 0)); + m->bus_8132_1 = pci_read_config8(dev, PCI_SECONDARY_BUS); m->bus_8132_2 = pci_read_config8(dev, PCI_SUBORDINATE_BUS); m->bus_8132_2++; -/*8132_2*/ - dev = dev_find_slot(m->bus_8132_0, PCI_DEVFN(sbdn3+1,0)); + /* 8132_2 */ + dev = dev_find_slot(m->bus_8132_0, PCI_DEVFN(sbdn3 + 1, 0)); m->bus_8132_2 = pci_read_config8(dev, PCI_SECONDARY_BUS); m->bus_isa = pci_read_config8(dev, PCI_SUBORDINATE_BUS); m->bus_isa++; for(i=0; i< sysconf.hc_possible_num; i++) { - if(!(sysconf.pci1234[i] & 0x1) ) continue; + if(!(sysconf.pci1234[i] & 0x1) ) continue; unsigned busn = (sysconf.pci1234[i] >> 12) & 0xff; unsigned busn_max = (sysconf.pci1234[i] >> 20) & 0xff; @@ -155,6 +153,6 @@ void get_bus_conf(void) apicid_base = CONFIG_MAX_PHYSICAL_CPUS; #endif m->apicid_mcp55 = apicid_base+0; - m->apicid_8132_1 = apicid_base+1; + m->apicid_8132_1 = apicid_base+1; m->apicid_8132_2 = apicid_base+2; } -- cgit v1.2.3