sb/intel: Add include guards on nvs.h

Change-Id: I110974f3161f2991536df50acdfe32f68bd2cc60
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42850
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2020-06-28 16:54:45 +03:00 committed by Patrick Georgi
parent 05ba1e9bf2
commit bdcccc0b88
4 changed files with 23 additions and 0 deletions

View File

@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef SOUTHBRIDGE_INTEL_BD82X6X_NVS_H
#define SOUTHBRIDGE_INTEL_BD82X6X_NVS_H
#include <commonlib/helpers.h>
#include <stdint.h>
#include "vendorcode/google/chromeos/gnvs.h"
@ -105,3 +108,5 @@ struct __packed global_nvs {
};
check_member(global_nvs, chromeos, GNVS_CHROMEOS_ACPI_OFFSET);
#endif /* SOUTHBRIDGE_INTEL_BD82X6X_NVS_H */

View File

@ -1,5 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef SOUTHBRIDGE_INTEL_I82801DX_NVS_H
#define SOUTHBRIDGE_INTEL_I82801DX_NVS_H
#include <stdint.h>
struct __packed global_nvs {
/* Miscellaneous */
u16 osys; /* 0x00 - Operating System */
@ -96,3 +101,5 @@ struct __packed global_nvs {
u8 bten;
u8 rsvd13[14];
};
#endif /* SOUTHBRIDGE_INTEL_I82801DX_NVS_H */

View File

@ -1,6 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef SOUTHBRIDGE_INTEL_IBEXPEAK_NVS_H
#define SOUTHBRIDGE_INTEL_IBEXPEAK_NVS_H
#include <commonlib/helpers.h>
#include <stdint.h>
#include "vendorcode/google/chromeos/gnvs.h"
struct __packed global_nvs {
@ -102,3 +106,5 @@ struct __packed global_nvs {
};
check_member(global_nvs, chromeos, GNVS_CHROMEOS_ACPI_OFFSET);
#endif /* SOUTHBRIDGE_INTEL_IBEXPEAK_NVS_H */

View File

@ -1,5 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef SOUTHBRIDGE_INTEL_LYNXPOINT_NVS_H
#define SOUTHBRIDGE_INTEL_LYNXPOINT_NVS_H
#include <commonlib/helpers.h>
#include <stdint.h>
#include "vendorcode/google/chromeos/gnvs.h"
@ -79,3 +82,5 @@ struct __packed global_nvs {
};
check_member(global_nvs, chromeos, GNVS_CHROMEOS_ACPI_OFFSET);
#endif /* SOUTHBRIDGE_INTEL_LYNXPOINT_NVS_H */