diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-03 12:41:41 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-03 12:41:41 +0000 |
commit | c65666f70d2b9885a7134c564784be2a49394f91 (patch) | |
tree | 5b845f39224d3c00e90225733d1282d9c729b831 /src/mainboard/via/vt8454c/acpi_tables.c | |
parent | bed872dedfeb3b3ce33c0ce715904887a729e76f (diff) |
remove more warnings
rename amd64_main to stage1_main..
copy src/mainboard/via/vt8454c/debug.c to src/lib/debug.c
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5352 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via/vt8454c/acpi_tables.c')
-rw-r--r-- | src/mainboard/via/vt8454c/acpi_tables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/via/vt8454c/acpi_tables.c b/src/mainboard/via/vt8454c/acpi_tables.c index dbd53f3fa6..b065c1fa5f 100644 --- a/src/mainboard/via/vt8454c/acpi_tables.c +++ b/src/mainboard/via/vt8454c/acpi_tables.c @@ -52,7 +52,7 @@ unsigned long acpi_fill_mcfg(unsigned long current) } -void acpi_create_via_hpet(acpi_hpet_t * hpet) +static void acpi_create_via_hpet(acpi_hpet_t * hpet) { #define HPET_ADDR 0xfe800000ULL acpi_header_t *header = &(hpet->header); @@ -182,7 +182,7 @@ unsigned long write_acpi_tables(unsigned long start) dsdt = (acpi_header_t *) current; current += AmlCode.length; memcpy((void *) dsdt, &AmlCode,AmlCode.length); -#if DONT_TRUST_IASL +#ifdef DONT_TRUST_IASL dsdt->checksum = 0; // don't trust intel iasl compiler to get this right dsdt->checksum = acpi_checksum(dsdt, dsdt->length); #endif |