summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c')
-rw-r--r--src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
index ab9f6d96a9..5f574236ea 100644
--- a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
@@ -46,7 +46,6 @@ u32 hcdnx[] = {
};
-u32 sbdn_sp5100;
void get_bus_conf(void)
{
@@ -63,7 +62,6 @@ void get_bus_conf(void)
get_pci1234();
sysconf.sbdn = (sysconf.hcdn[0] & 0xff);
- sbdn_sp5100 = 0;
for (i = 0; i < 2; i++) {
bus_sp5100[i] = 0;
@@ -78,7 +76,7 @@ void get_bus_conf(void)
/* sp5100 */
- dev = dev_find_slot(bus_sp5100[0], PCI_DEVFN(sbdn_sp5100 + 0x14, 4));
+ dev = dev_find_slot(bus_sp5100[0], PCI_DEVFN(0x14, 4));
if (dev) {
bus_sp5100[1] = pci_read_config8(dev, PCI_SECONDARY_BUS);
}