amd/stoneyridge: Use generic SMM command port values
Remove the old Hudson-specific SMM command port definitions and use the ones in cpu/x86/smm.h. Change-Id: I3de9a178e5f189ac1dbc921e41b69d47e3796a4f Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/21741 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Martin Roth
parent
6746d3784f
commit
e9b862eb2c
@@ -18,7 +18,7 @@
|
||||
#include <arch/io.h>
|
||||
#include <arch/acpi.h>
|
||||
#include <bootstate.h>
|
||||
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
@@ -79,7 +79,7 @@ static void sb_init_acpi_ports(void)
|
||||
pm_write16(PM_CPU_CTRL, ACPI_CPU_CONTROL);
|
||||
|
||||
if (IS_ENABLED(CONFIG_HAVE_SMI_HANDLER)) {
|
||||
pm_write16(PM_ACPI_SMI_CMD, ACPI_SMI_CTL_PORT);
|
||||
pm_write16(PM_ACPI_SMI_CMD, APM_CNT);
|
||||
enable_acpi_cmd_smi();
|
||||
} else {
|
||||
pm_write16(PM_ACPI_SMI_CMD, 0);
|
||||
|
Reference in New Issue
Block a user