summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-11-22 16:23:54 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-11-22 16:23:54 +0000
commit9b5295f522fa08b84d222ba08f5801d8e812dbc6 (patch)
treef217302ca949c22f6c05c2e3dbd1d17cecf27f3b /src/arch
parent0d5a6accc84530d44f35ba4f3a74b370a1f88f86 (diff)
downloadcoreboot-9b5295f522fa08b84d222ba08f5801d8e812dbc6.tar.xz
Drop unused ACPI_WRITE_MADT_IOAPIC #define.
This should probably be C code in some .c file anyway. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6116 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/include/arch/acpi.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/i386/include/arch/acpi.h b/src/arch/i386/include/arch/acpi.h
index 15e6ba74c4..030745d5ab 100644
--- a/src/arch/i386/include/arch/acpi.h
+++ b/src/arch/i386/include/arch/acpi.h
@@ -431,17 +431,6 @@ unsigned long acpi_add_ssdt_pstates(acpi_rsdp_t *rsdp, unsigned long current);
/* cpu/intel/speedstep/acpi.c */
void generate_cpu_entries(void);
-#define ACPI_WRITE_MADT_IOAPIC(dev,id) \
-do { \
- struct resource *res; \
- res = find_resource(dev, PCI_BASE_ADDRESS_0); \
- if (!res) break; \
- current += acpi_create_madt_ioapic( \
- (acpi_madt_ioapic_t *)current, \
- id, res->base, gsi_base); \
- gsi_base += 4; \
-} while(0);
-
#else // CONFIG_GENERATE_ACPI_TABLES
#define write_acpi_tables(start) (start)