southbridge/hudson: Add support for ACPI enable/disable via SMI

Hardware / Coreboot - Alexandru Gagniuc [gmail.com] - 16 April 2014 21:42 UTC

This enables the ACPI SMI command port in the FADT table, and sets up the hardware accordingly. If we have SMI enabled, then we don't set the SCI_EN bit at boot, causing the OS to send the ACPI_ENABLE command, as required by the ACPI spec. This gives us a chance to hook into the mainboard_smi_apmc() handler.

Change-Id: Ib4c63d55b3132578dcae48bfe2092d4ea35821dd

288c958 southbridge/hudson: Add support for ACPI enable/disable via SMI
src/southbridge/amd/agesa/hudson/fadt.c | 35 ++++++++++++++++++-------
src/southbridge/amd/agesa/hudson/hudson.h | 15 +++++++++--
src/southbridge/amd/agesa/hudson/smi.c | 8 ++++++
src/southbridge/amd/agesa/hudson/smi.h | 1 +
src/southbridge/amd/agesa/hudson/smihandler.c | 28 ++++++++++++++++++++
5 files changed, 75 insertions(+), 12 deletions(-)

Upstream: review.coreboot.org


  • Share