summaryrefslogtreecommitdiff
path: root/src/soc/intel/skylake/smmrelocate.c
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-12-14 18:18:34 +0530
committerSubrata Banik <subrata.banik@intel.com>2017-12-22 01:44:18 +0000
commitece173cc6fd347fdf121d1ad4518be50fb472071 (patch)
tree07f229c5043727afd39e75782f46cef6a5b2585e /src/soc/intel/skylake/smmrelocate.c
parent1a274f406cd7fc484f67d5d8c8dba5b66504731e (diff)
downloadcoreboot-ece173cc6fd347fdf121d1ad4518be50fb472071.tar.xz
soc/intel/skylake: Make use of common SMM code for SKL
This patch ensures skylake soc is using common SMM code from intel common block. TEST=Build and boot soraka/eve Change-Id: I8163dc7e18bb417e8c18a12628988959c128b3df Signed-off-by: Subrata Banik <subrata.banik@intel.com> Signed-off-by: Brandon Breitenstein <brandon.breitenstein@intel.com> Reviewed-on: https://review.coreboot.org/22826 Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/skylake/smmrelocate.c')
-rw-r--r--src/soc/intel/skylake/smmrelocate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/skylake/smmrelocate.c b/src/soc/intel/skylake/smmrelocate.c
index dbe0c9485b..b477b11752 100644
--- a/src/soc/intel/skylake/smmrelocate.c
+++ b/src/soc/intel/skylake/smmrelocate.c
@@ -26,6 +26,7 @@
#include <cpu/x86/mtrr.h>
#include <cpu/x86/smm.h>
#include <console/console.h>
+#include <intelblocks/smm.h>
#include <soc/cpu.h>
#include <soc/msr.h>
#include <soc/pci_devs.h>
@@ -281,7 +282,7 @@ void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
void smm_initialize(void)
{
/* Clear the SMM state in the southbridge. */
- southbridge_smm_clear_state();
+ smm_southbridge_clear_state();
/*
* Run the relocation handler for on the BSP to check and set up