aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/a8v-e_deluxe
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2010-11-22 14:14:56 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-11-22 14:14:56 +0000
commit7411eabcdb544205316dfa90e7e708b4b0495074 (patch)
treea22b31164448d14e5415597fa041cd7bd16416d0 /src/mainboard/asus/a8v-e_deluxe
parent394965dd6493943a908a044c5cd3bc3d27e599ec (diff)
Final set of smp_write_bus -> mptable_write_buses changes.
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Patrick Georgi <patrick@georgi-clan.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6114 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus/a8v-e_deluxe')
-rw-r--r--src/mainboard/asus/a8v-e_deluxe/mptable.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mainboard/asus/a8v-e_deluxe/mptable.c b/src/mainboard/asus/a8v-e_deluxe/mptable.c
index 583fd1e7ac..b985e4d044 100644
--- a/src/mainboard/asus/a8v-e_deluxe/mptable.c
+++ b/src/mainboard/asus/a8v-e_deluxe/mptable.c
@@ -27,7 +27,7 @@
static void *smp_write_config_table(void *v)
{
struct mp_config_table *mc;
- int bus_isa = 42;
+ int bus_isa;
mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
@@ -35,15 +35,7 @@ static void *smp_write_config_table(void *v)
smp_write_processors(mc);
- /* Bus: Bus ID Type */
- smp_write_bus(mc, 0, "PCI ");
- smp_write_bus(mc, 1, "PCI ");
- smp_write_bus(mc, 2, "PCI ");
- smp_write_bus(mc, 3, "PCI ");
- smp_write_bus(mc, 4, "PCI ");
- smp_write_bus(mc, 5, "PCI ");
- smp_write_bus(mc, 6, "PCI ");
- smp_write_bus(mc, bus_isa, "ISA ");
+ mptable_write_buses(mc, NULL, &bus_isa);
/* I/O APICs: APIC ID Version State Address */
smp_write_ioapic(mc, VT8237R_APIC_ID, 0x20, IO_APIC_ADDR);