Edward O'Callaghan (eocallaghan@alterapraxis.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6422
-gerrit
commit ca5c91f947b8d4b6b60f5d0afbb9977e039f2f4e Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Thu Jul 31 17:05:19 2014 +1000
soc: Add missing header guards
Change-Id: I0729b754226346df1e3be5f20c3a4b34cc76ed72 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com --- src/soc/intel/baytrail/acpi/irq_helper.h | 5 +++++ src/soc/intel/baytrail/baytrail/nvs.h | 5 +++++ src/soc/intel/fsp_baytrail/acpi/irq_helper.h | 5 +++++ 3 files changed, 15 insertions(+)
diff --git a/src/soc/intel/baytrail/acpi/irq_helper.h b/src/soc/intel/baytrail/acpi/irq_helper.h index b19895b..01718ba 100644 --- a/src/soc/intel/baytrail/acpi/irq_helper.h +++ b/src/soc/intel/baytrail/acpi/irq_helper.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef IRQ_HELPER_H +#define IRQ_HELPER_H + #undef PCI_DEV_PIRQ_ROUTES #undef ACPI_DEV_APIC_IRQ #undef PCI_DEV_PIRQ_ROUTE @@ -46,3 +49,5 @@
/* Include the mainboard irq route definition. */ #include "irqroute.h" + +#endif /* IRQ_HELPER_H */ diff --git a/src/soc/intel/baytrail/baytrail/nvs.h b/src/soc/intel/baytrail/baytrail/nvs.h index dbf72e2..6549409 100644 --- a/src/soc/intel/baytrail/baytrail/nvs.h +++ b/src/soc/intel/baytrail/baytrail/nvs.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef NVS_H +#define NVS_H + #include <vendorcode/google/chromeos/gnvs.h> #include <baytrail/device_nvs.h>
@@ -70,3 +73,5 @@ typedef struct { /* Used in SMM to find the ACPI GNVS address */ global_nvs_t *smm_get_gnvs(void); #endif + +#endif /* NVS_H */ diff --git a/src/soc/intel/fsp_baytrail/acpi/irq_helper.h b/src/soc/intel/fsp_baytrail/acpi/irq_helper.h index e3a23d8..350d5dc 100644 --- a/src/soc/intel/fsp_baytrail/acpi/irq_helper.h +++ b/src/soc/intel/fsp_baytrail/acpi/irq_helper.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef IRQ_HELPER_H +#define IRQ_HELPER_H + /* * This file will use arch/x86/acpi/irqroute.asl and mainboard/irqroute.h * to generate the ACPI IRQ routing for the mainboard being compiled. @@ -53,3 +56,5 @@
/* Include the mainboard irq route definition */ #include "irqroute.h" + +#endif /* IRQ_HELPER_H */