summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron/986lcd-m/fadt.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-11 15:20:36 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-11 15:20:36 +0000
commite1025d0f7fabc20e271c578c7c3283b30d152fe8 (patch)
treed7b9b831532fce973b1de8dd16bf95ad152e4e82 /src/mainboard/kontron/986lcd-m/fadt.c
parentcc44b06d9d5dd11dbe8e5e17f2603db006447861 (diff)
downloadcoreboot-e1025d0f7fabc20e271c578c7c3283b30d152fe8.tar.xz
Kontron 986LCD-M updates:
* ACPI updates: MCFG, HPET, FADT * some mptable fixes for certain riser cards * Use Channel XOR randomization * Fix SuperIO HWM setup * Enable all three network adapters Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3993 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/kontron/986lcd-m/fadt.c')
-rw-r--r--src/mainboard/kontron/986lcd-m/fadt.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mainboard/kontron/986lcd-m/fadt.c b/src/mainboard/kontron/986lcd-m/fadt.c
index 3e8b45a876..46c1a124e2 100644
--- a/src/mainboard/kontron/986lcd-m/fadt.c
+++ b/src/mainboard/kontron/986lcd-m/fadt.c
@@ -31,15 +31,16 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
memset((void *) fadt, 0, sizeof(acpi_fadt_t));
memcpy(header->signature, "FACP", 4);
header->length = 132;
- header->revision = 1;
+ header->revision = 2;
memcpy(header->oem_id, "CORE ", 6);
memcpy(header->oem_table_id, "COREBOOT", 8);
memcpy(header->asl_compiler_id, "CORE", 4);
- header->asl_compiler_revision = 0;
+ header->asl_compiler_revision = 1;
fadt->firmware_ctrl = (unsigned long) facs;
fadt->dsdt = (unsigned long) dsdt;
- fadt->preferred_pm_profile = 0;
+ fadt->model = 1;
+ fadt->preferred_pm_profile = 2;
fadt->sci_int = 0x9;
fadt->smi_cmd = 0xb2;
fadt->acpi_enable = 0xe1;
@@ -58,7 +59,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
fadt->pm1_evt_len = 4;
fadt->pm1_cnt_len = 2;
- fadt->pm2_cnt_len = 1;
+ fadt->pm2_cnt_len = 0;
fadt->pm_tmr_len = 4;
fadt->gpe0_blk_len = 8;
fadt->gpe1_blk_len = 0;
@@ -79,6 +80,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
// all cpus support c1
// sleep button is generic
// rtc wakeup/s4 not possible
+ // use platform timer
header->checksum =
acpi_checksum((void *) fadt, header->length);