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>
This commit is contained in:
Kyösti Mälkki 2019-08-13 07:57:34 +03:00
parent a347630641
commit 89d7fd8100
14 changed files with 12 additions and 15 deletions

View File

@ -17,7 +17,7 @@
#include <ec/google/chromeec/smm.h> #include <ec/google/chromeec/smm.h>
#include <gpio.h> #include <gpio.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include <variant/ec.h> #include <variant/ec.h>
void mainboard_smi_espi_handler(void) void mainboard_smi_espi_handler(void)

View File

@ -15,7 +15,7 @@
#include <cpu/x86/smm.h> #include <cpu/x86/smm.h>
#include <ec/google/wilco/smm.h> #include <ec/google/wilco/smm.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include <variant/ec.h> #include <variant/ec.h>
void mainboard_smi_espi_handler(void) void mainboard_smi_espi_handler(void)

View File

@ -16,7 +16,7 @@
#include <cpu/x86/smm.h> #include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h> #include <ec/google/chromeec/smm.h>
#include <gpio.h> #include <gpio.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include "ec.h" #include "ec.h"
#include "gpio.h" #include "gpio.h"

View File

@ -15,7 +15,7 @@
#include <cpu/x86/smm.h> #include <cpu/x86/smm.h>
#include <ec/google/chromeec/smm.h> #include <ec/google/chromeec/smm.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <variant/ec.h> #include <variant/ec.h>

View File

@ -24,7 +24,7 @@
#include <soc/iomap.h> #include <soc/iomap.h>
#include <soc/nvs.h> #include <soc/nvs.h>
#include <soc/pm.h> #include <soc/pm.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include "ec.h" #include "ec.h"
#include <variant/gpio.h> #include <variant/gpio.h>

View File

@ -17,7 +17,7 @@
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
#include <ec/google/chromeec/smm.h> #include <ec/google/chromeec/smm.h>
#include <elog.h> #include <elog.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include <variant/ec.h> #include <variant/ec.h>
void mainboard_smi_espi_handler(void) void mainboard_smi_espi_handler(void)

View File

@ -19,7 +19,7 @@
#include <elog.h> #include <elog.h>
#include <gpio.h> #include <gpio.h>
#include <soc/gpio.h> #include <soc/gpio.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include <baseboard/variants.h> #include <baseboard/variants.h>
#include <variant/gpio.h> #include <variant/gpio.h>

View File

@ -15,7 +15,7 @@
#include <cpu/x86/smm.h> #include <cpu/x86/smm.h>
#include <ec/google/wilco/smm.h> #include <ec/google/wilco/smm.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include <variant/ec.h> #include <variant/ec.h>
void mainboard_smi_espi_handler(void) void mainboard_smi_espi_handler(void)

View File

@ -21,7 +21,7 @@
#include <soc/iomap.h> #include <soc/iomap.h>
#include <soc/nvs.h> #include <soc/nvs.h>
#include <soc/pm.h> #include <soc/pm.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include "ec.h" #include "ec.h"
#include <variant/gpio.h> #include <variant/gpio.h>

View File

@ -22,7 +22,7 @@
#include <soc/iomap.h> #include <soc/iomap.h>
#include <soc/nvs.h> #include <soc/nvs.h>
#include <soc/pm.h> #include <soc/pm.h>
#include <soc/smm.h> #include <intelblocks/smihandler.h>
#include "ec.h" #include "ec.h"
#include "gpio.h" #include "gpio.h"

View File

@ -45,8 +45,6 @@ struct smm_relocation_params {
int smm_save_state_in_msrs; 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, void smm_relocation_handler(int cpu, uintptr_t curr_smbase,
uintptr_t staggered_smbase); uintptr_t staggered_smbase);

View File

@ -17,6 +17,7 @@
#include <arch/ebda.h> #include <arch/ebda.h>
#include <cbmem.h> #include <cbmem.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <fsp/util.h> #include <fsp/util.h>

View File

@ -44,9 +44,6 @@ struct smm_relocation_params {
int smm_save_state_in_msrs; 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, void smm_relocation_handler(int cpu, uintptr_t curr_smbase,
uintptr_t staggered_smbase); uintptr_t staggered_smbase);
void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize, void smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,

View File

@ -16,6 +16,7 @@
#include <arch/ebda.h> #include <arch/ebda.h>
#include <cbmem.h> #include <cbmem.h>
#include <console/console.h> #include <console/console.h>
#include <cpu/x86/smm.h>
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <fsp/util.h> #include <fsp/util.h>