aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/sitemp_g1p1/mptable.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-10-06 14:34:22 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-10-13 11:07:23 +0200
commitc5ae30617a239f5fe13a8c5a7422b73938341fc1 (patch)
tree25fc2d291844c2c2770d584632d21a860656b661 /src/mainboard/siemens/sitemp_g1p1/mptable.c
parent390a3374ca597ccd127eca0b8950d5051cd0e697 (diff)
siemens/sitemp_g1p1: Get rid of bus_isa and bus_type
Each variable is essentially unused or incorrect. Change-Id: I4d2a10c9b45306ac6e6026a31765d3b912fd855c Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/242 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'src/mainboard/siemens/sitemp_g1p1/mptable.c')
-rw-r--r--src/mainboard/siemens/sitemp_g1p1/mptable.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mainboard/siemens/sitemp_g1p1/mptable.c b/src/mainboard/siemens/sitemp_g1p1/mptable.c
index 4180c36dbf..958bfc1207 100644
--- a/src/mainboard/siemens/sitemp_g1p1/mptable.c
+++ b/src/mainboard/siemens/sitemp_g1p1/mptable.c
@@ -26,13 +26,11 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern u8 bus_isa;
extern u8 bus_rs690[8];
extern u8 bus_sb600[2];
extern u32 apicid_sb600;
-extern u32 bus_type[256];
extern u32 sbdn_rs690;
extern u32 sbdn_sb600;
@@ -46,12 +44,9 @@ static void *smp_write_config_table(void *v)
smp_write_processors(mc);
get_bus_conf();
- printk(BIOS_DEBUG, "%s: bus_isa=%d, apic_id=0x%x\n", __func__, bus_isa, apicid_sb600);
+ printk(BIOS_DEBUG, "%s: apic_id=0x%x\n", __func__, apicid_sb600);
mptable_write_buses(mc, NULL, &isa_bus);
- if (isa_bus != bus_isa) {
- printk(BIOS_ERR, "ISA bus numbering schemes differ! Please fix mptable.c\n");
- }
/* I/O APICs: APIC ID Version State Address */
{
device_t dev;
@@ -63,9 +58,10 @@ static void *smp_write_config_table(void *v)
smp_write_ioapic(mc, apicid_sb600, 0x20, res->base);
}
}
- mptable_add_isa_interrupts(mc, bus_isa, apicid_sb600, 0);
+ mptable_add_isa_interrupts(mc, isa_bus, apicid_sb600, 0);
+
/* I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN# */
- mptable_lintsrc(mc, bus_isa);
+ mptable_lintsrc(mc, isa_bus);
/* Compute the checksums */
return mptable_finalize(mc);