aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/via/epia-n/acpi_tables.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-07-22 01:11:37 +0000
committerStefan Reinauer <stepan@openbios.org>2009-07-22 01:11:37 +0000
commit4704dc520b1d5eb8ae730b336ee5f6b7401f7dfc (patch)
treee38f63722b1a559d334940364aa838c75c074405 /src/mainboard/via/epia-n/acpi_tables.c
parentcdfe376c06bf95399b03196de0a436e719811eea (diff)
Fix up the tree again...
* acpi_add_table requires a pointer to the RSDP, not the RSDT anymore, in order to properly support XSDT generation. * fix compilation the DSDT on gigabyte/m57sli * drop a remaining, forgotten HPET_NAME for "HPET" Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4461 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/epia-n/acpi_tables.c')
-rw-r--r--src/mainboard/via/epia-n/acpi_tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/via/epia-n/acpi_tables.c b/src/mainboard/via/epia-n/acpi_tables.c
index 9ca946de59..3f58d66824 100644
--- a/src/mainboard/via/epia-n/acpi_tables.c
+++ b/src/mainboard/via/epia-n/acpi_tables.c
@@ -63,7 +63,7 @@ unsigned long write_acpi_tables(unsigned long start)
/* clear all table memory */
memset((void *)start, 0, current - start);
- acpi_write_rsdp(rsdp, rsdt);
+ acpi_write_rsdp(rsdp, rsdt, NULL);
acpi_write_rsdt(rsdt);
/*
@@ -86,7 +86,7 @@ unsigned long write_acpi_tables(unsigned long start)
current += sizeof(acpi_fadt_t);
acpi_create_fadt(fadt,facs,dsdt);
- acpi_add_table(rsdt,fadt);
+ acpi_add_table(rsdp,fadt);
printk_info("ACPI: done.\n");
return current;