From 4704dc520b1d5eb8ae730b336ee5f6b7401f7dfc Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 22 Jul 2009 01:11:37 +0000 Subject: 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 Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4461 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdfam10/amdfam10_acpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/northbridge/amd/amdfam10') diff --git a/src/northbridge/amd/amdfam10/amdfam10_acpi.c b/src/northbridge/amd/amdfam10/amdfam10_acpi.c index f902d6ee98..77fd3ccb12 100644 --- a/src/northbridge/amd/amdfam10/amdfam10_acpi.c +++ b/src/northbridge/amd/amdfam10/amdfam10_acpi.c @@ -312,7 +312,7 @@ extern unsigned char AmlCode_sspr2[]; extern unsigned char AmlCode_sspr1[]; /* fixme: find one good way for different p_state_num */ -unsigned long acpi_add_ssdt_pstates(acpi_rsdt_t *rsdt, unsigned long current) +unsigned long acpi_add_ssdt_pstates(acpi_rsdp_t *rsdp, unsigned long current) { device_t cpu; int cpu_index = 0; @@ -348,7 +348,7 @@ unsigned long acpi_add_ssdt_pstates(acpi_rsdt_t *rsdt, unsigned long current) /* recalculate checksum */ ssdt->checksum = 0; ssdt->checksum = acpi_checksum((unsigned char *)ssdt,ssdt->length); - acpi_add_table(rsdt,ssdt); + acpi_add_table(rsdp, ssdt); cpu_index++; } -- cgit v1.2.3