diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-06-10 11:13:24 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-16 08:04:27 +0000 |
commit | b264c5ce10f6c4a2f46454b72de25048e0ef21fb (patch) | |
tree | 0e22db85cac5f64a6384e63045b26fdf8dd74b92 /src/mainboard/lenovo | |
parent | 0778c86b3b94490284d0fe686500d29ca791d39d (diff) |
sb/amd/x/hudson: Replace hudson_enable_smi_generation()
Change-Id: I08b2d1af16c247e66bf1a352887b0f9387055225
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42356
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/g505s/mainboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/g505s/mainboard.c b/src/mainboard/lenovo/g505s/mainboard.c index 8fab16645a..8339626b9f 100644 --- a/src/mainboard/lenovo/g505s/mainboard.c +++ b/src/mainboard/lenovo/g505s/mainboard.c @@ -4,6 +4,7 @@ #include <acpi/acpi.h> #include <console/console.h> +#include <cpu/x86/smm.h> #include <device/device.h> #include <southbridge/amd/agesa/hudson/smi.h> @@ -21,7 +22,7 @@ static void mainboard_enable(struct device *dev) printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); hudson_configure_gevent_smi(EC_SMI_GEVENT, SMI_MODE_SMI, SMI_LVL_HIGH); - hudson_enable_smi_generation(); + global_smi_enable(); if (!acpi_is_wakeup_s3()) pavilion_cold_boot_init(); |