From b264c5ce10f6c4a2f46454b72de25048e0ef21fb Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Wed, 10 Jun 2020 11:13:24 +0300 Subject: sb/amd/x/hudson: Replace hudson_enable_smi_generation() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I08b2d1af16c247e66bf1a352887b0f9387055225 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/42356 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/lenovo/g505s/mainboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainboard/lenovo') 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 #include +#include #include #include @@ -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(); -- cgit v1.2.3