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 <zheng.bao@amd.com> Acked-by: Zheng Bao <zheng.bao@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6293 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
4f81e198ae
commit
a302b58d01
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue