From 4ad1446b8333b258110d275c58d17b2d9ebbfa23 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 16 Jun 2018 18:29:33 +0200 Subject: src/mb: Fix non-local header treated as local Also remove some unnedded includes. Change-Id: I036208a111d009620d8354fa9c97688eb4e872ad Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/27129 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/intel/cougar_canyon2/acpi_tables.c | 3 +-- src/mainboard/intel/cougar_canyon2/gpio.h | 2 +- src/mainboard/intel/dcp847ske/early_southbridge.c | 2 +- src/mainboard/intel/dg41wv/acpi_tables.c | 3 +-- src/mainboard/intel/emeraldlake2/acpi_tables.c | 3 +-- src/mainboard/intel/stargo2/gpio.h | 2 +- 6 files changed, 6 insertions(+), 9 deletions(-) (limited to 'src/mainboard/intel') diff --git a/src/mainboard/intel/cougar_canyon2/acpi_tables.c b/src/mainboard/intel/cougar_canyon2/acpi_tables.c index 3de6d3ed27..406184f384 100644 --- a/src/mainboard/intel/cougar_canyon2/acpi_tables.c +++ b/src/mainboard/intel/cougar_canyon2/acpi_tables.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -24,8 +23,8 @@ #include #include #include +#include -#include "southbridge/intel/fsp_bd82x6x/nvs.h" #include "thermal.h" static global_nvs_t *gnvs_; diff --git a/src/mainboard/intel/cougar_canyon2/gpio.h b/src/mainboard/intel/cougar_canyon2/gpio.h index c839a12c3d..b4e3915e70 100644 --- a/src/mainboard/intel/cougar_canyon2/gpio.h +++ b/src/mainboard/intel/cougar_canyon2/gpio.h @@ -17,7 +17,7 @@ #ifndef MAINBOARD_GPIO_H #define MAINBOARD_GPIO_H -#include "southbridge/intel/fsp_bd82x6x/gpio.h" +#include const struct pch_gpio_set1 pch_gpio_set1_mode = { .gpio0 = GPIO_MODE_GPIO, /* SINAI */ diff --git a/src/mainboard/intel/dcp847ske/early_southbridge.c b/src/mainboard/intel/dcp847ske/early_southbridge.c index f33415741f..c4be4d50fd 100644 --- a/src/mainboard/intel/dcp847ske/early_southbridge.c +++ b/src/mainboard/intel/dcp847ske/early_southbridge.c @@ -22,7 +22,7 @@ #include #include #include -#include "northbridge/intel/sandybridge/raminit_native.h" +#include #include "superio.h" #include "thermal.h" diff --git a/src/mainboard/intel/dg41wv/acpi_tables.c b/src/mainboard/intel/dg41wv/acpi_tables.c index d80fb4c343..666bba63e3 100644 --- a/src/mainboard/intel/dg41wv/acpi_tables.c +++ b/src/mainboard/intel/dg41wv/acpi_tables.c @@ -16,8 +16,7 @@ #include #include - -#include "southbridge/intel/i82801gx/nvs.h" +#include void acpi_create_gnvs(global_nvs_t *gnvs) { diff --git a/src/mainboard/intel/emeraldlake2/acpi_tables.c b/src/mainboard/intel/emeraldlake2/acpi_tables.c index 3ef993a3d7..92ded3c6da 100644 --- a/src/mainboard/intel/emeraldlake2/acpi_tables.c +++ b/src/mainboard/intel/emeraldlake2/acpi_tables.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -25,8 +24,8 @@ #include #include #include +#include -#include "southbridge/intel/bd82x6x/nvs.h" #include "thermal.h" static global_nvs_t *gnvs_; diff --git a/src/mainboard/intel/stargo2/gpio.h b/src/mainboard/intel/stargo2/gpio.h index 25ecfeb151..675580b10a 100644 --- a/src/mainboard/intel/stargo2/gpio.h +++ b/src/mainboard/intel/stargo2/gpio.h @@ -17,7 +17,7 @@ #ifndef MAINBOARD_GPIO_H #define MAINBOARD_GPIO_H -#include "southbridge/intel/fsp_i89xx/gpio.h" +#include const struct pch_gpio_set1 pch_gpio_set1_mode = { -- cgit v1.2.3