summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s8226
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/tyan/s8226')
-rw-r--r--src/mainboard/tyan/s8226/get_bus_conf.c13
-rw-r--r--src/mainboard/tyan/s8226/mptable.c1
2 files changed, 1 insertions, 13 deletions
diff --git a/src/mainboard/tyan/s8226/get_bus_conf.c b/src/mainboard/tyan/s8226/get_bus_conf.c
index e7529c3574..ea06499f34 100644
--- a/src/mainboard/tyan/s8226/get_bus_conf.c
+++ b/src/mainboard/tyan/s8226/get_bus_conf.c
@@ -34,7 +34,6 @@ u8 bus_sp5100[2];
u8 bus_sr5650[14];
-u32 bus_type[256];
u32 sbdn_sr5650;
u32 sbdn_sp5100;
@@ -44,7 +43,7 @@ void get_bus_conf(void);
void get_bus_conf(void)
{
device_t dev;
- int i, j;
+ int i;
sbdn_sp5100 = 0;
@@ -55,11 +54,6 @@ void get_bus_conf(void)
bus_sr5650[i] = 0;
}
- for (i = 0; i < 256; i++) {
- bus_type[i] = 0; /* default ISA bus. */
- }
-
- bus_type[0] = 1; /* pci */
bus_sr5650[0] = 0;
bus_sp5100[0] = bus_sr5650[0];
@@ -72,8 +66,6 @@ void get_bus_conf(void)
bus_isa = (int)pci_read_config8(dev, PCI_SUBORDINATE_BUS);
bus_isa++;
- for (j = bus_sp5100[1]; j < bus_isa; j++)
- bus_type[j] = 1;
}
/* sr5650 */
@@ -84,7 +76,6 @@ void get_bus_conf(void)
if(255 != bus_sr5650[i]) {
bus_isa = (int)pci_read_config8(dev, PCI_SUBORDINATE_BUS);
bus_isa++;
- bus_type[bus_sr5650[i]] = 1; /* PCI bus. */
}
}
}
@@ -98,8 +89,6 @@ void get_bus_conf(void)
bus_isa++;
}
}
- for (j = bus_sp5100[2]; j < bus_isa; j++)
- bus_type[j] = 1;
*/
diff --git a/src/mainboard/tyan/s8226/mptable.c b/src/mainboard/tyan/s8226/mptable.c
index 2206b584d8..8b36bc79fb 100644
--- a/src/mainboard/tyan/s8226/mptable.c
+++ b/src/mainboard/tyan/s8226/mptable.c
@@ -30,7 +30,6 @@
extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2];
-extern u32 bus_type[256];
extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100;
extern int bus_isa;