mb/google/kahlee: Remove #include <soc/smi.h>

Because of struct sci_source table of events that have to generate SCI or
SMI, <soc/smi.h> was included to kahlee/grunt gpio.c files. However, new
code transfered most of SCI/SMI/interrupt programming (with exception of
events not associated to a GPIO pin), and therefore smi.h is now included
by gpio.h. It was also added to some other files where they are not needed.
Only smihandler.c truly needs it. Remove the includes.

BUG=b:78139413
TEST=build and boot grunt.

Change-Id: I64cf0796103a5226ddace03d05d94160bf93aa69
Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-on: https://review.coreboot.org/26721
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Richard Spiegel 2018-05-30 17:26:11 -07:00 committed by Martin Roth
parent 8bd5c5f42e
commit 22e6018b28
4 changed files with 0 additions and 4 deletions

View File

@ -26,7 +26,6 @@
#include <smbios.h>
#include <soc/nvs.h>
#include <soc/pci_devs.h>
#include <soc/smi.h>
#include <soc/southbridge.h>
#include <variant/ec.h>
#include <variant/thermal.h>

View File

@ -16,7 +16,6 @@
#include <compiler.h>
#include <baseboard/variants.h>
#include <soc/gpio.h>
#include <soc/smi.h>
#include <soc/southbridge.h>
#include <stdlib.h>
#include <boardid.h>

View File

@ -18,7 +18,6 @@
#define __BASEBOARD_VARIANTS_H__
#include <stddef.h>
#include <soc/smi.h>
#include <soc/southbridge.h>
const struct sci_source *get_gpe_table(size_t *num);

View File

@ -14,7 +14,6 @@
*/
#include <baseboard/variants.h>
#include <soc/smi.h>
#include <soc/southbridge.h>
#include <stdlib.h>
#include <variant/gpio.h>