summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/m4a78-em
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/asus/m4a78-em')
-rw-r--r--src/mainboard/asus/m4a78-em/get_bus_conf.c6
-rw-r--r--src/mainboard/asus/m4a78-em/mptable.c2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/mainboard/asus/m4a78-em/get_bus_conf.c b/src/mainboard/asus/m4a78-em/get_bus_conf.c
index d7ca975a5d..3c4894085a 100644
--- a/src/mainboard/asus/m4a78-em/get_bus_conf.c
+++ b/src/mainboard/asus/m4a78-em/get_bus_conf.c
@@ -48,18 +48,12 @@ u32 hcdnx[] = {
u32 sbdn_rs780;
u32 sbdn_sb700;
-static u32 get_bus_conf_done = 0;
-
void get_bus_conf(void)
{
u32 apicid_base;
struct device *dev;
int i;
- if (get_bus_conf_done == 1)
- return; /* do it only once */
- get_bus_conf_done = 1;
-
sysconf.hc_possible_num = ARRAY_SIZE(pci1234x);
for (i = 0; i < sysconf.hc_possible_num; i++) {
sysconf.pci1234[i] = pci1234x[i];
diff --git a/src/mainboard/asus/m4a78-em/mptable.c b/src/mainboard/asus/m4a78-em/mptable.c
index 458c6146bc..e2b28900fa 100644
--- a/src/mainboard/asus/m4a78-em/mptable.c
+++ b/src/mainboard/asus/m4a78-em/mptable.c
@@ -39,8 +39,6 @@ static void *smp_write_config_table(void *v)
smp_write_processors(mc);
- get_bus_conf();
-
mptable_write_buses(mc, NULL, &bus_isa);
/* I/O APICs: APIC ID Version State Address */