From a302b58d0157dd216522ca468979b7fcc8b43d51 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Mon, 24 Jan 2011 07:50:07 +0000 Subject: Change fadt revision back to 3. The AcpiPmaCntBlk have to be set. Further research is needed to find out why. Signed-off-by: Zheng Bao Acked-by: Zheng Bao git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6293 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/amd/sb800/early_setup.c | 5 ++++- src/southbridge/amd/sb800/fadt.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/southbridge/amd/sb800/early_setup.c b/src/southbridge/amd/sb800/early_setup.c index 4672ada216..7ef0d8e268 100644 --- a/src/southbridge/amd/sb800/early_setup.c +++ b/src/southbridge/amd/sb800/early_setup.c @@ -55,9 +55,12 @@ static void sb800_acpi_init(void) { pmio_write(0x66, ACPI_CPU_CONTROL & 0xFF); pmio_write(0x67, ACPI_CPU_CONTROL >> 8); - pmio_write(0x6A, 0); /* AcpiSmiCmdLo */ + pmio_write(0x6A, 0xB0); /* AcpiSmiCmdLo */ pmio_write(0x6B, 0); /* AcpiSmiCmdHi */ + pmio_write(0x6E, 0xB8); /* AcpiPmaCntBlkLo */ + pmio_write(0x6F, 0); /* AcpiPmaCntBlkHi */ + pmio_write(0x6C, ACPI_PMA_CNT_BLK & 0xFF); pmio_write(0x6D, ACPI_PMA_CNT_BLK >> 8); diff --git a/src/southbridge/amd/sb800/fadt.c b/src/southbridge/amd/sb800/fadt.c index fece94398a..6eb5c0a737 100644 --- a/src/southbridge/amd/sb800/fadt.c +++ b/src/southbridge/amd/sb800/fadt.c @@ -38,7 +38,7 @@ 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 = 244; - header->revision = 1; /* TODO: 3 will make linux hang. */ + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4); -- cgit v1.2.3