summaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/smi.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-18 13:51:31 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-22 11:44:45 +0000
commitd15183144a5eee46740b7b71eb29ef8011cba9be (patch)
treee0346a710f4bb148e0ad5ff50a54f96b8f65b0a7 /src/soc/intel/broadwell/smi.c
parent3fccec532279664b2c99464161b17a1a1fc42406 (diff)
cpu/x86/smm: Define APM_CNT_NOOP_SMI
Old (!PARALLEL_MP) cpu bringup uses this as the first control to do SMM relocation. Change-Id: I4241120b00fac77f0491d37f05ba17763db1254e Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42617 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/broadwell/smi.c')
-rw-r--r--src/soc/intel/broadwell/smi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/smi.c b/src/soc/intel/broadwell/smi.c
index 939815a998..9d8d25e841 100644
--- a/src/soc/intel/broadwell/smi.c
+++ b/src/soc/intel/broadwell/smi.c
@@ -72,7 +72,7 @@ static void __unused southbridge_trigger_smi(void)
/* raise an SMI interrupt */
printk(BIOS_SPEW, " ... raise SMI#\n");
- outb(0x00, 0xb2);
+ apm_control(APM_CNT_NOOP_SMI);
}
static void __unused southbridge_clear_smi_status(void)