commit | e2ec60f28b06c17c6d1c5c3ecf01ae5cefb4d9a6 | [log] [tgz] |
---|---|---|
author | Angel Pons <th3fanbus@gmail.com> | Tue Jan 26 19:18:09 2021 +0100 |
committer | Angel Pons <th3fanbus@gmail.com> | Wed Jan 27 21:28:18 2021 +0000 |
tree | 0d1bf97618d4dfbc07f01d78b0c7b9d8fad6da57 | |
parent | cbd5bb9cc755ad406e7e13572ff104af1f8b269d [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>
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c index 21053ec..3746fe3 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 edca2b6..d28c7d4 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 2d19ccd..d253380 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"