diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-01-16 16:39:50 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-01-16 16:39:50 +0000 |
commit | f2da0d5654b1646646161a640791bdab0d27ebb1 (patch) | |
tree | c94da21b996cedb7f8540426ce342305f50aa466 /src/mainboard/intel/d945gclf/acpi_tables.c | |
parent | 38c9965977bd29504a06689ec6b1b39e5aaeca4d (diff) | |
download | coreboot-f2da0d5654b1646646161a640791bdab0d27ebb1.tar.xz |
Intel D945GCLF: Enable SMI and ACPI in Kconfig, too (it's enabled in newconfig)
and guard SMI specific parts of the ACPI code.
(trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5018 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/intel/d945gclf/acpi_tables.c')
-rw-r--r-- | src/mainboard/intel/d945gclf/acpi_tables.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/intel/d945gclf/acpi_tables.c b/src/mainboard/intel/d945gclf/acpi_tables.c index 5b187e77f0..527d708af9 100644 --- a/src/mainboard/intel/d945gclf/acpi_tables.c +++ b/src/mainboard/intel/d945gclf/acpi_tables.c @@ -192,7 +192,9 @@ unsigned long acpi_fill_srat(unsigned long current) return current; } +#if CONFIG_HAVE_SMI_HANDLER void smm_setup_structures(void *gnvs, void *tcg, void *smi1); +#endif #define ALIGN_CURRENT current = ((current + 0x0f) & -0x10) unsigned long write_acpi_tables(unsigned long start) @@ -311,8 +313,10 @@ unsigned long write_acpi_tables(unsigned long start) current += 0x100; ALIGN_CURRENT; +#if CONFIG_HAVE_SMI_HANDLER /* And tell SMI about it */ smm_setup_structures((void *)current, NULL, NULL); +#endif /* We patched up the DSDT, so we need to recalculate the checksum */ dsdt->checksum = 0; |