[coreboot-gerrit] Patch set updated for coreboot: 124ff70 intel eagleheights & xe7501devkit 'ioapic.h': Add missing header guards

HAOUAS Elyes (ehaouas@noos.fr) gerrit at coreboot.org
Sat Aug 2 08:32:48 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 124ff7012e5d30b6712108179c392c24b9015d65
Author: Elyes HAOUAS <ehaouas at noos.fr>
Date:   Sat Aug 2 08:32:10 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 | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/src/mainboard/intel/eagleheights/ioapic.h b/src/mainboard/intel/eagleheights/ioapic.h
index 4ac7d62..2f0a8d3 100644
--- a/src/mainboard/intel/eagleheights/ioapic.h
+++ b/src/mainboard/intel/eagleheights/ioapic.h
@@ -1,2 +1,7 @@
+#ifndef EAGLEHEIGHTS_IOAPIC_H
+#define EAGLEHEIGHTS_IOAPIC_H
+
 #define IOAPIC_I3100 2
 #define INTEL_IOAPIC_NUM_INTERRUPTS 24
+
+#endif /* EAGLEHEIGHTS_IOAPIC_H */
diff --git a/src/mainboard/intel/xe7501devkit/ioapic.h b/src/mainboard/intel/xe7501devkit/ioapic.h
index 9ac2aee..6a329d5 100644
--- a/src/mainboard/intel/xe7501devkit/ioapic.h
+++ b/src/mainboard/intel/xe7501devkit/ioapic.h
@@ -1,5 +1,7 @@
 // IOAPIC addresses determined by coreboot enumeration.
 // Someday add functions to get APIC IDs and versions from the chips themselves.
+#ifndef XE7501DEVKIT_IOAPIC_H
+#define XE7501DEVKIT_IOAPIC_H
 
 #define IOAPIC_ICH3				2
 #define IOAPIC_P64H2_2_BUS_B	3	// IOAPIC 3 at 01:1c.0  MBAR = fe300000 DataAddr = fe300010
@@ -9,3 +11,5 @@
 
 #define P64H2_IOAPIC_VERSION	0x20
 #define INTEL_IOAPIC_NUM_INTERRUPTS 24		// Both ICH-3 and P64-H2
+
+#endif /* XE7501DEVKIT_IOAPIC_H */



More information about the coreboot-gerrit mailing list