From 1a847a11bec12edf7e8847a69b03c8ed641a22bc Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 7 Oct 2022 10:41:42 +0200 Subject: nb/intel/i945: Clean up includes Signed-off-by: Elyes Haouas Change-Id: I0e5f102d75647c9c184cb7422af30c9196503882 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68211 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/northbridge/intel/i945/errata.c | 1 + src/northbridge/intel/i945/i945.h | 11 +++-------- src/northbridge/intel/i945/romstage.c | 6 +++--- 3 files changed, 7 insertions(+), 11 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/intel/i945/errata.c b/src/northbridge/intel/i945/errata.c index 3057ae92e2..c4219d94e3 100644 --- a/src/northbridge/intel/i945/errata.c +++ b/src/northbridge/intel/i945/errata.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include + #include "i945.h" #include "raminit.h" diff --git a/src/northbridge/intel/i945/i945.h b/src/northbridge/intel/i945/i945.h index d8993acdf0..3470a77eee 100644 --- a/src/northbridge/intel/i945/i945.h +++ b/src/northbridge/intel/i945/i945.h @@ -3,10 +3,11 @@ #ifndef NORTHBRIDGE_INTEL_I945_H #define NORTHBRIDGE_INTEL_I945_H -#define DEFAULT_X60BAR 0xfed13000 - +#include #include +#define DEFAULT_X60BAR 0xfed13000 + /* Everything below this line is ignored in the DSDT */ #ifndef __ACPI__ @@ -86,12 +87,6 @@ #define BSM 0x5c #define GCFC 0xf0 /* Graphics Clock Frequency & Gating Control */ -/* - * MCHBAR - */ - -#include - /* Chipset Control Registers */ #define FSBPMC3 0x40 /* 32bit */ #define FSBPMC4 0x44 /* 32bit */ diff --git a/src/northbridge/intel/i945/romstage.c b/src/northbridge/intel/i945/romstage.c index 0a61780cdc..61b9bcff43 100644 --- a/src/northbridge/intel/i945/romstage.c +++ b/src/northbridge/intel/i945/romstage.c @@ -1,12 +1,12 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include #include +#include #include #include -#include #include +#include +#include __weak void mainboard_lpc_decode(void) { -- cgit v1.2.3