summaryrefslogtreecommitdiff
path: root/src/mainboard/lippert
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lippert')
-rw-r--r--src/mainboard/lippert/frontrunner-af/get_bus_conf.c14
-rw-r--r--src/mainboard/lippert/frontrunner-af/mptable.c1
-rw-r--r--src/mainboard/lippert/toucan-af/get_bus_conf.c15
-rw-r--r--src/mainboard/lippert/toucan-af/mptable.c1
4 files changed, 2 insertions, 29 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/get_bus_conf.c b/src/mainboard/lippert/frontrunner-af/get_bus_conf.c
index c1a3fc2501..dfece88355 100644
--- a/src/mainboard/lippert/frontrunner-af/get_bus_conf.c
+++ b/src/mainboard/lippert/frontrunner-af/get_bus_conf.c
@@ -43,7 +43,6 @@ u32 pci1234x[] = {
0x0000ff0,
};
-u32 bus_type[256];
u32 sbdn_sb800;
@@ -52,17 +51,12 @@ void get_bus_conf(void)
u32 apicid_base;
device_t dev;
- int i, j;
+ int i;
sbdn_sb800 = 0;
memset(bus_sb800, 0, sizeof(bus_sb800));
- for (i = 0; i < 256; i++) {
- bus_type[i] = 0; /* default ISA bus. */
- }
-
- bus_type[0] = 1; /* pci */
// bus_sb800[0] = (sysconf.pci1234[0] >> 16) & 0xff;
bus_sb800[0] = (pci1234x[0] >> 16) & 0xff;
@@ -75,8 +69,6 @@ void get_bus_conf(void)
bus_isa = pci_read_config8(dev, PCI_SUBORDINATE_BUS);
bus_isa++;
- for (j = bus_sb800[1]; j < bus_isa; j++)
- bus_type[j] = 1;
}
for (i = 0; i < 4; i++) {
@@ -88,10 +80,6 @@ void get_bus_conf(void)
}
}
- for (j = bus_sb800[2]; j < bus_isa; j++)
- bus_type[j] = 1;
-
-
/* I/O APICs: APIC ID Version State Address */
bus_isa = 10;
apicid_base = CONFIG_MAX_CPUS;
diff --git a/src/mainboard/lippert/frontrunner-af/mptable.c b/src/mainboard/lippert/frontrunner-af/mptable.c
index 498ae58230..d794e567be 100644
--- a/src/mainboard/lippert/frontrunner-af/mptable.c
+++ b/src/mainboard/lippert/frontrunner-af/mptable.c
@@ -31,7 +31,6 @@ extern u8 bus_sb800[6];
extern u32 apicid_sb800;
-extern u32 bus_type[256];
extern u32 sbdn_sb800;
u8 intr_data[] = {
diff --git a/src/mainboard/lippert/toucan-af/get_bus_conf.c b/src/mainboard/lippert/toucan-af/get_bus_conf.c
index c49fff1bc8..eddd6459d7 100644
--- a/src/mainboard/lippert/toucan-af/get_bus_conf.c
+++ b/src/mainboard/lippert/toucan-af/get_bus_conf.c
@@ -43,7 +43,6 @@ u32 pci1234x[] = {
0x0000ff0,
};
-u32 bus_type[256];
u32 sbdn_sb800;
void get_bus_conf(void)
@@ -51,18 +50,12 @@ void get_bus_conf(void)
u32 apicid_base;
device_t dev;
- int i, j;
+ int i;
sbdn_sb800 = 0;
memset(bus_sb800, 0, sizeof(bus_sb800));
- for (i = 0; i < 256; i++) {
- bus_type[i] = 0; /* default ISA bus. */
- }
-
- bus_type[0] = 1; /* pci */
-
// bus_sb800[0] = (sysconf.pci1234[0] >> 16) & 0xff;
bus_sb800[0] = (pci1234x[0] >> 16) & 0xff;
@@ -74,8 +67,6 @@ void get_bus_conf(void)
bus_isa = pci_read_config8(dev, PCI_SUBORDINATE_BUS);
bus_isa++;
- for (j = bus_sb800[1]; j < bus_isa; j++)
- bus_type[j] = 1;
}
for (i = 0; i < 4; i++) {
@@ -87,10 +78,6 @@ void get_bus_conf(void)
}
}
- for (j = bus_sb800[2]; j < bus_isa; j++)
- bus_type[j] = 1;
-
-
/* I/O APICs: APIC ID Version State Address */
bus_isa = 10;
apicid_base = CONFIG_MAX_CPUS;
diff --git a/src/mainboard/lippert/toucan-af/mptable.c b/src/mainboard/lippert/toucan-af/mptable.c
index 498ae58230..d794e567be 100644
--- a/src/mainboard/lippert/toucan-af/mptable.c
+++ b/src/mainboard/lippert/toucan-af/mptable.c
@@ -31,7 +31,6 @@ extern u8 bus_sb800[6];
extern u32 apicid_sb800;
-extern u32 bus_type[256];
extern u32 sbdn_sb800;
u8 intr_data[] = {