From e2ec60f28b06c17c6d1c5c3ecf01ae5cefb4d9a6 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Tue, 26 Jan 2021 19:18:09 +0100 Subject: nb/intel/haswell/haswell.h: Do not include `pch.h` Avoid indirect header inclusion, include `pch.h` where necessary. Change-Id: I6b72976a28ffaad68bcf558c8a13b5c221070522 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/49944 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/northbridge/intel/haswell/gma.c | 1 + src/northbridge/intel/haswell/haswell.h | 2 -- src/northbridge/intel/haswell/northbridge.c | 1 + src/southbridge/intel/lynxpoint/acpi/lpc.asl | 2 ++ 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c index 21053ec1c0..3746fe35cc 100644 --- a/src/northbridge/intel/haswell/gma.c +++ b/src/northbridge/intel/haswell/gma.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include diff --git a/src/northbridge/intel/haswell/haswell.h b/src/northbridge/intel/haswell/haswell.h index edca2b6330..d28c7d4fc0 100644 --- a/src/northbridge/intel/haswell/haswell.h +++ b/src/northbridge/intel/haswell/haswell.h @@ -10,8 +10,6 @@ #include "memmap.h" -#include - /* Everything below this line is ignored in the DSDT */ #ifndef __ACPI__ diff --git a/src/northbridge/intel/haswell/northbridge.c b/src/northbridge/intel/haswell/northbridge.c index 2d19ccdda5..d25338033d 100644 --- a/src/northbridge/intel/haswell/northbridge.c +++ b/src/northbridge/intel/haswell/northbridge.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "chip.h" #include "haswell.h" diff --git a/src/southbridge/intel/lynxpoint/acpi/lpc.asl b/src/southbridge/intel/lynxpoint/acpi/lpc.asl index a823b7084b..2e230ea47d 100644 --- a/src/southbridge/intel/lynxpoint/acpi/lpc.asl +++ b/src/southbridge/intel/lynxpoint/acpi/lpc.asl @@ -2,6 +2,8 @@ // Intel LPC Bus Device - 0:1f.0 +#include + Device (LPCB) { Name (_ADR, 0x001f0000) -- cgit v1.2.3