From 89d7fd8100f2bde86be18e94d7b3497e621ca8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 13 Aug 2019 07:57:34 +0300 Subject: mainboard/google: Fix indirect includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie79702efab519b16cff45ccad61b95e7d8c2fbac Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/34854 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/google/dragonegg/smihandler.c | 2 +- src/mainboard/google/drallion/smihandler.c | 2 +- src/mainboard/google/eve/smihandler.c | 2 +- src/mainboard/google/fizz/smihandler.c | 2 +- src/mainboard/google/glados/smihandler.c | 2 +- src/mainboard/google/hatch/smihandler.c | 2 +- src/mainboard/google/poppy/smihandler.c | 2 +- src/mainboard/google/sarien/smihandler.c | 2 +- src/mainboard/intel/kblrvp/smihandler.c | 2 +- src/mainboard/intel/kunimitsu/smihandler.c | 2 +- src/soc/intel/cannonlake/include/soc/smm.h | 2 -- src/soc/intel/cannonlake/memmap.c | 1 + src/soc/intel/icelake/include/soc/smm.h | 3 --- src/soc/intel/icelake/memmap.c | 1 + 14 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/mainboard/google/dragonegg/smihandler.c b/src/mainboard/google/dragonegg/smihandler.c index 9c72cb694e..8d2afd60b7 100644 --- a/src/mainboard/google/dragonegg/smihandler.c +++ b/src/mainboard/google/dragonegg/smihandler.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include void mainboard_smi_espi_handler(void) diff --git a/src/mainboard/google/drallion/smihandler.c b/src/mainboard/google/drallion/smihandler.c index 0efcaa9ef1..18dbfbc154 100644 --- a/src/mainboard/google/drallion/smihandler.c +++ b/src/mainboard/google/drallion/smihandler.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include void mainboard_smi_espi_handler(void) diff --git a/src/mainboard/google/eve/smihandler.c b/src/mainboard/google/eve/smihandler.c index 7b97446271..5bca488d7c 100644 --- a/src/mainboard/google/eve/smihandler.c +++ b/src/mainboard/google/eve/smihandler.c @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include "ec.h" #include "gpio.h" diff --git a/src/mainboard/google/fizz/smihandler.c b/src/mainboard/google/fizz/smihandler.c index 2b7367ad34..d20780c709 100644 --- a/src/mainboard/google/fizz/smihandler.c +++ b/src/mainboard/google/fizz/smihandler.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include #include diff --git a/src/mainboard/google/glados/smihandler.c b/src/mainboard/google/glados/smihandler.c index a4a1ccadaa..114b937a29 100644 --- a/src/mainboard/google/glados/smihandler.c +++ b/src/mainboard/google/glados/smihandler.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include "ec.h" #include diff --git a/src/mainboard/google/hatch/smihandler.c b/src/mainboard/google/hatch/smihandler.c index 68d562dd0f..c7833e3900 100644 --- a/src/mainboard/google/hatch/smihandler.c +++ b/src/mainboard/google/hatch/smihandler.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include void mainboard_smi_espi_handler(void) diff --git a/src/mainboard/google/poppy/smihandler.c b/src/mainboard/google/poppy/smihandler.c index 4f45687700..44ab10cdf1 100644 --- a/src/mainboard/google/poppy/smihandler.c +++ b/src/mainboard/google/poppy/smihandler.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/mainboard/google/sarien/smihandler.c b/src/mainboard/google/sarien/smihandler.c index 0efcaa9ef1..18dbfbc154 100644 --- a/src/mainboard/google/sarien/smihandler.c +++ b/src/mainboard/google/sarien/smihandler.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include void mainboard_smi_espi_handler(void) diff --git a/src/mainboard/intel/kblrvp/smihandler.c b/src/mainboard/intel/kblrvp/smihandler.c index ba8458be15..d642c73c98 100644 --- a/src/mainboard/intel/kblrvp/smihandler.c +++ b/src/mainboard/intel/kblrvp/smihandler.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include "ec.h" #include diff --git a/src/mainboard/intel/kunimitsu/smihandler.c b/src/mainboard/intel/kunimitsu/smihandler.c index df02601368..0830e6091b 100644 --- a/src/mainboard/intel/kunimitsu/smihandler.c +++ b/src/mainboard/intel/kunimitsu/smihandler.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include "ec.h" #include "gpio.h" 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 #include #include +#include #include #include #include diff --git a/src/soc/intel/icelake/include/soc/smm.h b/src/soc/intel/icelake/include/soc/smm.h index 2d4adf7e8c..b61951b85b 100644 --- a/src/soc/intel/icelake/include/soc/smm.h +++ b/src/soc/intel/icelake/include/soc/smm.h @@ -44,9 +44,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); void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize, diff --git a/src/soc/intel/icelake/memmap.c b/src/soc/intel/icelake/memmap.c index e0d7d68fe6..106742f51b 100644 --- a/src/soc/intel/icelake/memmap.c +++ b/src/soc/intel/icelake/memmap.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3