summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-26 19:18:09 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-01-27 21:28:18 +0000
commite2ec60f28b06c17c6d1c5c3ecf01ae5cefb4d9a6 (patch)
tree0d1bf97618d4dfbc07f01d78b0c7b9d8fad6da57 /src/northbridge
parentcbd5bb9cc755ad406e7e13572ff104af1f8b269d (diff)
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49944 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/haswell/gma.c1
-rw-r--r--src/northbridge/intel/haswell/haswell.h2
-rw-r--r--src/northbridge/intel/haswell/northbridge.c1
3 files changed, 2 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 <drivers/intel/gma/libgfxinit.h>
#include <cpu/intel/haswell/haswell.h>
#include <drivers/intel/gma/opregion.h>
+#include <southbridge/intel/lynxpoint/pch.h>
#include <string.h>
#include <types.h>
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 <southbridge/intel/lynxpoint/pch.h>
-
/* 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 <device/pci_ops.h>
#include <boot/tables.h>
#include <security/intel/txt/txt_register.h>
+#include <southbridge/intel/lynxpoint/pch.h>
#include "chip.h"
#include "haswell.h"