summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-13 07:57:34 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-15 04:41:35 +0000
commit89d7fd8100f2bde86be18e94d7b3497e621ca8c9 (patch)
treedb54efb2c633c528a86caa9ec60dee0c96dc0429 /src/soc/intel/cannonlake
parenta347630641f796a39311cb0ddc6c9217e56eab07 (diff)
mainboard/google: Fix indirect includes
Change-Id: Ie79702efab519b16cff45ccad61b95e7d8c2fbac Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34854 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/cannonlake')
-rw-r--r--src/soc/intel/cannonlake/include/soc/smm.h2
-rw-r--r--src/soc/intel/cannonlake/memmap.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/smm.h b/src/soc/intel/cannonlake/include/soc/smm.h
index e2367a7795..f2e7950ba2 100644
--- a/src/soc/intel/cannonlake/include/soc/smm.h
+++ b/src/soc/intel/cannonlake/include/soc/smm.h
@@ -45,8 +45,6 @@ struct smm_relocation_params {
int smm_save_state_in_msrs;
};
-/* Mainboard handler for eSPI SMIs */
-void mainboard_smi_espi_handler(void);
void smm_relocation_handler(int cpu, uintptr_t curr_smbase,
uintptr_t staggered_smbase);
diff --git a/src/soc/intel/cannonlake/memmap.c b/src/soc/intel/cannonlake/memmap.c
index a842ff63ec..d1f3ad0035 100644
--- a/src/soc/intel/cannonlake/memmap.c
+++ b/src/soc/intel/cannonlake/memmap.c
@@ -17,6 +17,7 @@
#include <arch/ebda.h>
#include <cbmem.h>
#include <console/console.h>
+#include <cpu/x86/smm.h>
#include <device/device.h>
#include <device/pci.h>
#include <fsp/util.h>