summaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/smihandler.c
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2017-08-07 19:08:24 -0600
committerMarc Jones <marc@marcjonesconsulting.com>2017-08-14 14:50:51 +0000
commitdfeb1c4da9be7ac97bd31f580ff2fff0c4b3256e (patch)
tree40af1e9b65705e3886408d07e1faaba85949bd1f /src/soc/amd/stoneyridge/smihandler.c
parent4b7b18d14ac99d2337796facd3028647799b4f66 (diff)
downloadcoreboot-dfeb1c4da9be7ac97bd31f580ff2fff0c4b3256e.tar.xz
stoneyridge: Rename hudson to southbridge
Simplify funciton names and remove reference to hudson in stoneyridge. The southbridge in Stoney Ridge is Kern and hudson naming is no longer accurate. BUG=b:62200157 BRANCH=none TEST=Build and booted on Kahlee. Change-Id: Ide7a72dae69b881997101f1e37a1ac739901744d Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/20912 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/stoneyridge/smihandler.c')
-rw-r--r--src/soc/amd/stoneyridge/smihandler.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c
index 5a646a69f2..a8ff96a3e1 100644
--- a/src/soc/amd/stoneyridge/smihandler.c
+++ b/src/soc/amd/stoneyridge/smihandler.c
@@ -9,9 +9,8 @@
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <delay.h>
-#include <soc/hudson.h>
#include <soc/smi.h>
-
+#include <soc/southbridge.h>
#define SMI_0x88_ACPI_COMMAND (1 << 11)
@@ -25,7 +24,7 @@ enum smi_source {
SMI_SOURCE_0x90 = (1 << 5)
};
-static void hudson_apmc_smi_handler(void)
+static void sb_apmc_smi_handler(void)
{
u32 reg32;
const uint8_t cmd = inb(ACPI_SMI_CTL_PORT);
@@ -88,7 +87,7 @@ static void process_smi_0x88(void)
if (status & SMI_0x88_ACPI_COMMAND) {
/* Command received via ACPI SMI command port */
- hudson_apmc_smi_handler();
+ sb_apmc_smi_handler();
}
/* Clear events to prevent re-entering SMI if event isn't handled */
smi_write32(0x88, status);