[coreboot-gerrit] New patch to review for coreboot: d4094ab intel eagleheights & xe7501devkit 'ioapic.h': Add missing header guards
HAOUAS Elyes (ehaouas@noos.fr)
gerrit at coreboot.org
Fri Aug 1 14:13:19 CEST 2014
HAOUAS Elyes (ehaouas at noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6449
-gerrit
commit d4094abdbffe7276a76666dd40d8b013ab953414
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date: Fri Aug 1 14:12:12 2014 +0200
intel eagleheights & xe7501devkit 'ioapic.h': Add missing header guards
Change-Id: I010ce8e66a01367611b822bea7d1907eab166917
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
src/mainboard/intel/eagleheights/ioapic.h | 5 +++++
src/mainboard/intel/xe7501devkit/ioapic.h | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/src/mainboard/intel/eagleheights/ioapic.h b/src/mainboard/intel/eagleheights/ioapic.h
index 4ac7d62..971d187 100644
--- a/src/mainboard/intel/eagleheights/ioapic.h
+++ b/src/mainboard/intel/eagleheights/ioapic.h
@@ -1,2 +1,7 @@
+#ifndef IOAPIC_H
+#define IOAPIC_H
+
#define IOAPIC_I3100 2
#define INTEL_IOAPIC_NUM_INTERRUPTS 24
+
+#endif /* IOAPIC_H */
diff --git a/src/mainboard/intel/xe7501devkit/ioapic.h b/src/mainboard/intel/xe7501devkit/ioapic.h
index 9ac2aee..5c15c6a 100644
--- a/src/mainboard/intel/xe7501devkit/ioapic.h
+++ b/src/mainboard/intel/xe7501devkit/ioapic.h
@@ -1,6 +1,9 @@
// IOAPIC addresses determined by coreboot enumeration.
// Someday add functions to get APIC IDs and versions from the chips themselves.
+#ifndef IOAPIC_H
+#define IOAPIC_H
+
#define IOAPIC_ICH3 2
#define IOAPIC_P64H2_2_BUS_B 3 // IOAPIC 3 at 01:1c.0 MBAR = fe300000 DataAddr = fe300010
#define IOAPIC_P64H2_2_BUS_A 4 // IOAPIC 4 at 01:1e.0 MBAR = fe301000 DataAddr = fe301010
@@ -9,3 +12,5 @@
#define P64H2_IOAPIC_VERSION 0x20
#define INTEL_IOAPIC_NUM_INTERRUPTS 24 // Both ICH-3 and P64-H2
+
+#endif /* IOAPIC_H */
More information about the coreboot-gerrit
mailing list