HAOUAS Elyes (ehaouas@noos.fr) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6437
-gerrit
commit 2990c02ecb4a60946db34c8626118b116dd7796b Author: Elyes HAOUAS ehaouas@noos.fr Date: Fri Aug 1 12:41:48 2014 +0200
southbridge nvs.h: Add missing header guards
Change-Id: I000911e98f42ec2dfb4c9cd701413aebe82c5ebe Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- src/southbridge/intel/bd82x6x/nvs.h | 5 +++++ src/southbridge/intel/fsp_bd82x6x/nvs.h | 5 +++++ src/southbridge/intel/fsp_rangeley/nvs.h | 5 +++++ src/southbridge/intel/i82801dx/nvs.h | 5 +++++ src/southbridge/intel/i82801gx/nvs.h | 5 +++++ src/southbridge/intel/i82801ix/nvs.h | 5 +++++ src/southbridge/intel/ibexpeak/nvs.h | 5 +++++ src/southbridge/intel/lynxpoint/nvs.h | 5 +++++ src/southbridge/via/vt8237r/nvs.h | 5 +++++ 9 files changed, 45 insertions(+)
diff --git a/src/southbridge/intel/bd82x6x/nvs.h b/src/southbridge/intel/bd82x6x/nvs.h index 1038f73..cd40124 100644 --- a/src/southbridge/intel/bd82x6x/nvs.h +++ b/src/southbridge/intel/bd82x6x/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" typedef struct { /* Miscellaneous */ @@ -158,3 +161,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/southbridge/intel/fsp_bd82x6x/nvs.h b/src/southbridge/intel/fsp_bd82x6x/nvs.h index 8889f02..fc063c7 100644 --- a/src/southbridge/intel/fsp_bd82x6x/nvs.h +++ b/src/southbridge/intel/fsp_bd82x6x/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" typedef struct { /* Miscellaneous */ @@ -156,3 +159,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/southbridge/intel/fsp_rangeley/nvs.h b/src/southbridge/intel/fsp_rangeley/nvs.h index dce23e0..f9935c4 100644 --- a/src/southbridge/intel/fsp_rangeley/nvs.h +++ b/src/southbridge/intel/fsp_rangeley/nvs.h @@ -18,6 +18,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef NVS_H +#define NVS_H + typedef struct { /* Miscellaneous */ u16 osys; /* 0x00 - Operating System */ @@ -153,3 +156,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/southbridge/intel/i82801dx/nvs.h b/src/southbridge/intel/i82801dx/nvs.h index 14f0ad3..ea4a2cb 100644 --- a/src/southbridge/intel/i82801dx/nvs.h +++ b/src/southbridge/intel/i82801dx/nvs.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef NVS_H +#define NVS_H + typedef struct { /* Miscellaneous */ u16 osys; /* 0x00 - Operating System */ @@ -135,3 +138,5 @@ typedef struct { u8 bten; u8 rsvd13[14]; } __attribute__((packed)) global_nvs_t; + +#endif /* NVS_H */ diff --git a/src/southbridge/intel/i82801gx/nvs.h b/src/southbridge/intel/i82801gx/nvs.h index 14f0ad3..ea4a2cb 100644 --- a/src/southbridge/intel/i82801gx/nvs.h +++ b/src/southbridge/intel/i82801gx/nvs.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef NVS_H +#define NVS_H + typedef struct { /* Miscellaneous */ u16 osys; /* 0x00 - Operating System */ @@ -135,3 +138,5 @@ typedef struct { u8 bten; u8 rsvd13[14]; } __attribute__((packed)) global_nvs_t; + +#endif /* NVS_H */ diff --git a/src/southbridge/intel/i82801ix/nvs.h b/src/southbridge/intel/i82801ix/nvs.h index 14f0ad3..ea4a2cb 100644 --- a/src/southbridge/intel/i82801ix/nvs.h +++ b/src/southbridge/intel/i82801ix/nvs.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef NVS_H +#define NVS_H + typedef struct { /* Miscellaneous */ u16 osys; /* 0x00 - Operating System */ @@ -135,3 +138,5 @@ typedef struct { u8 bten; u8 rsvd13[14]; } __attribute__((packed)) global_nvs_t; + +#endif /* NVS_H */ diff --git a/src/southbridge/intel/ibexpeak/nvs.h b/src/southbridge/intel/ibexpeak/nvs.h index 1038f73..cd40124 100644 --- a/src/southbridge/intel/ibexpeak/nvs.h +++ b/src/southbridge/intel/ibexpeak/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" typedef struct { /* Miscellaneous */ @@ -158,3 +161,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/southbridge/intel/lynxpoint/nvs.h b/src/southbridge/intel/lynxpoint/nvs.h index 48010ff..8fc2aaf 100644 --- a/src/southbridge/intel/lynxpoint/nvs.h +++ b/src/southbridge/intel/lynxpoint/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" typedef struct { /* Miscellaneous */ @@ -134,3 +137,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/southbridge/via/vt8237r/nvs.h b/src/southbridge/via/vt8237r/nvs.h index d2aab34..967eeff 100644 --- a/src/southbridge/via/vt8237r/nvs.h +++ b/src/southbridge/via/vt8237r/nvs.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
+#ifndef NVS_H +#define NVS_H + typedef struct { /* Miscellaneous */ u16 osys; /* 0x00 - Operating System */ @@ -43,3 +46,5 @@ typedef struct { u8 pcp1; /* 0x2b - PDC CPU/CORE 1 */ u8 ppcm; /* 0x2c - Max. PPC state */ } __attribute__((packed)) global_nvs_t; + +#endif /* NVS_H */