summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/hp/pavilion_m6_1035dx/mainboard.c3
-rw-r--r--src/mainboard/lenovo/g505s/mainboard.c3
2 files changed, 4 insertions, 2 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();
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();