summaryrefslogtreecommitdiff
path: root/src/mainboard/hp
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-10 11:13:24 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-16 08:04:27 +0000
commitb264c5ce10f6c4a2f46454b72de25048e0ef21fb (patch)
tree0e22db85cac5f64a6384e63045b26fdf8dd74b92 /src/mainboard/hp
parent0778c86b3b94490284d0fe686500d29ca791d39d (diff)
downloadcoreboot-b264c5ce10f6c4a2f46454b72de25048e0ef21fb.tar.xz
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/hp')
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/mainboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c b/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c
index 0adcbf3edc..7c1f5579bd 100644
--- a/src/mainboard/hp/pavilion_m6_1035dx/mainboard.c
+++ b/src/mainboard/hp/pavilion_m6_1035dx/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();