From 13f66507afdcde5170546e5ca1ce5a945895eb10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sun, 3 Mar 2019 08:01:05 +0200 Subject: device/mmio.h: Add include file for MMIO ops MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MMIO operations are arch-agnostic so the include path should not be arch/. Change-Id: I0fd70f5aeca02e98e96b980c3aca0819f5c44b98 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/31691 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/soc/intel/braswell/acpi.c | 2 +- src/soc/intel/braswell/gpio.c | 2 ++ src/soc/intel/braswell/gpio_support.c | 2 ++ src/soc/intel/braswell/include/soc/gpio.h | 1 - src/soc/intel/braswell/iosf.c | 2 +- src/soc/intel/braswell/lpc_init.c | 1 + src/soc/intel/braswell/lpe.c | 2 +- src/soc/intel/braswell/pmutil.c | 1 + src/soc/intel/braswell/romstage/romstage.c | 1 + src/soc/intel/braswell/smihandler.c | 1 + src/soc/intel/braswell/smm.c | 1 + src/soc/intel/braswell/southcluster.c | 1 + src/soc/intel/braswell/spi.c | 2 +- 13 files changed, 14 insertions(+), 5 deletions(-) (limited to 'src/soc/intel/braswell') diff --git a/src/soc/intel/braswell/acpi.c b/src/soc/intel/braswell/acpi.c index b67303e6d843..4ace22aab90f 100644 --- a/src/soc/intel/braswell/acpi.c +++ b/src/soc/intel/braswell/acpi.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/soc/intel/braswell/gpio.c b/src/soc/intel/braswell/gpio.c index a5b289401fc5..77547b8a8e08 100644 --- a/src/soc/intel/braswell/gpio.c +++ b/src/soc/intel/braswell/gpio.c @@ -15,6 +15,8 @@ */ #include +#include +#include #include #include #include diff --git a/src/soc/intel/braswell/gpio_support.c b/src/soc/intel/braswell/gpio_support.c index 5ca34ec3ab4f..253cfa2674ea 100644 --- a/src/soc/intel/braswell/gpio_support.c +++ b/src/soc/intel/braswell/gpio_support.c @@ -12,6 +12,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ + +#include #include #include #include diff --git a/src/soc/intel/braswell/include/soc/gpio.h b/src/soc/intel/braswell/include/soc/gpio.h index 894096f59a01..2240ae1e4b02 100644 --- a/src/soc/intel/braswell/include/soc/gpio.h +++ b/src/soc/intel/braswell/include/soc/gpio.h @@ -18,7 +18,6 @@ #define _SOC_GPIO_H_ #include -#include #include #include diff --git a/src/soc/intel/braswell/iosf.c b/src/soc/intel/braswell/iosf.c index aff1c3dd1183..7b5374a01eaf 100644 --- a/src/soc/intel/braswell/iosf.c +++ b/src/soc/intel/braswell/iosf.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include +#include #include #include #include diff --git a/src/soc/intel/braswell/lpc_init.c b/src/soc/intel/braswell/lpc_init.c index 12ee42c88df0..1c89187fd7e3 100644 --- a/src/soc/intel/braswell/lpc_init.c +++ b/src/soc/intel/braswell/lpc_init.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #define SUSPEND_CYCLE 1 diff --git a/src/soc/intel/braswell/lpe.c b/src/soc/intel/braswell/lpe.c index 7b7eb9b359c5..a06d7a658f34 100644 --- a/src/soc/intel/braswell/lpe.c +++ b/src/soc/intel/braswell/lpe.c @@ -14,7 +14,7 @@ * GNU General Public License for more details. */ -#include +#include #include #include #include diff --git a/src/soc/intel/braswell/pmutil.c b/src/soc/intel/braswell/pmutil.c index fbaac2e21eb3..271eefed08c4 100644 --- a/src/soc/intel/braswell/pmutil.c +++ b/src/soc/intel/braswell/pmutil.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include diff --git a/src/soc/intel/braswell/romstage/romstage.c b/src/soc/intel/braswell/romstage/romstage.c index 38047ed42945..5fe35505098d 100644 --- a/src/soc/intel/braswell/romstage/romstage.c +++ b/src/soc/intel/braswell/romstage/romstage.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/src/soc/intel/braswell/smihandler.c b/src/soc/intel/braswell/smihandler.c index 1129e04ccd2f..1f02269cec0b 100644 --- a/src/soc/intel/braswell/smihandler.c +++ b/src/soc/intel/braswell/smihandler.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include diff --git a/src/soc/intel/braswell/smm.c b/src/soc/intel/braswell/smm.c index ae0d80a8d02b..6f54d78aef08 100644 --- a/src/soc/intel/braswell/smm.c +++ b/src/soc/intel/braswell/smm.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/src/soc/intel/braswell/southcluster.c b/src/soc/intel/braswell/southcluster.c index 3cd22082b051..22fe85326aee 100644 --- a/src/soc/intel/braswell/southcluster.c +++ b/src/soc/intel/braswell/southcluster.c @@ -17,6 +17,7 @@ */ #include +#include #include #include #include diff --git a/src/soc/intel/braswell/spi.c b/src/soc/intel/braswell/spi.c index 093726811914..fa22cf7c06fd 100644 --- a/src/soc/intel/braswell/spi.c +++ b/src/soc/intel/braswell/spi.c @@ -14,7 +14,7 @@ */ /* This file is derived from the flashrom project. */ -#include +#include #include #include #include -- cgit v1.2.3