Iru Cai (mytbk920423@gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13775
-gerrit
commit 46fde717d9aeafef6e392d6b3ab54ed9b803d78b Author: Iru Cai mytbk920423@gmail.com Date: Wed Feb 24 15:03:58 2016 +0800
northbridge/intel: add missing #include guards
Change-Id: I13fdb8014b82e6065be2064137b7ea10062deaca Signed-off-by: Iru Cai mytbk920423@gmail.com --- src/northbridge/intel/i945/chip.h | 5 +++++ src/northbridge/intel/nehalem/chip.h | 5 +++++ src/northbridge/intel/sandybridge/chip.h | 5 +++++ src/northbridge/intel/sandybridge/gma.h | 5 +++++ 4 files changed, 20 insertions(+)
diff --git a/src/northbridge/intel/i945/chip.h b/src/northbridge/intel/i945/chip.h index 52925ff..446af72 100644 --- a/src/northbridge/intel/i945/chip.h +++ b/src/northbridge/intel/i945/chip.h @@ -1,3 +1,6 @@ +#ifndef NORTHBRIDGE_INTEL_I945_CHIP_H +#define NORTHBRIDGE_INTEL_I945_CHIP_H + #include <drivers/intel/gma/i915.h>
struct northbridge_intel_i945_config { @@ -6,3 +9,5 @@ struct northbridge_intel_i945_config { int gpu_lvds_use_spread_spectrum_clock; struct i915_gpu_controller_info gfx; }; + +#endif /* NORTHBRIDGE_INTEL_I945_CHIP_H */ diff --git a/src/northbridge/intel/nehalem/chip.h b/src/northbridge/intel/nehalem/chip.h index 5598022..caf9819 100644 --- a/src/northbridge/intel/nehalem/chip.h +++ b/src/northbridge/intel/nehalem/chip.h @@ -13,6 +13,9 @@ * GNU General Public License for more details. */
+#ifndef NORTHBRIDGE_INTEL_NEHALEM_CHIP_H +#define NORTHBRIDGE_INTEL_NEHALEM_CHIP_H + #include <drivers/intel/gma/i915.h>
/* @@ -39,3 +42,5 @@ struct northbridge_intel_nehalem_config {
struct i915_gpu_controller_info gfx; }; + +#endif /* NORTHBRIDGE_INTEL_NEHALEM_CHIP_H */ diff --git a/src/northbridge/intel/sandybridge/chip.h b/src/northbridge/intel/sandybridge/chip.h index b04f95e..5effc0d 100644 --- a/src/northbridge/intel/sandybridge/chip.h +++ b/src/northbridge/intel/sandybridge/chip.h @@ -13,6 +13,9 @@ * GNU General Public License for more details. */
+#ifndef NORTHBRIDGE_INTEL_SANDYBRIDGE_CHIP_H +#define NORTHBRIDGE_INTEL_SANDYBRIDGE_CHIP_H + #include <drivers/intel/gma/i915.h>
/* @@ -45,3 +48,5 @@ struct northbridge_intel_sandybridge_config {
struct i915_gpu_controller_info gfx; }; + +#endif /* NORTHBRIDGE_INTEL_SANDYBRIDGE_CHIP_H */ diff --git a/src/northbridge/intel/sandybridge/gma.h b/src/northbridge/intel/sandybridge/gma.h index 8381863..0832468 100644 --- a/src/northbridge/intel/sandybridge/gma.h +++ b/src/northbridge/intel/sandybridge/gma.h @@ -13,6 +13,9 @@ * GNU General Public License for more details. */
+#ifndef NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H +#define NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H + /* mailbox 0: header */ typedef struct { u8 signature[16]; @@ -114,3 +117,5 @@ struct i915_gpu_controller_info;
int i915lightup_sandy(const struct i915_gpu_controller_info *info, u32 physbase, u16 pio, u8 *mmio, u32 lfb); + +#endif /* NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H */