aboutsummaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-06-29 17:26:33 -0500
committerAaron Durbin <adurbin@chromium.org>2016-07-01 03:20:51 +0200
commit2656219008045b983d4f72adef0e0a09f6e6265c (patch)
treeeef95e59b67dd8e59581467b7be9e28869adaeff /src/soc
parentbe87f73c68a81b48aec0d651a8bde52aa37f3690 (diff)
soc/intel/apollolake: typedef global_nvs_t for consistency
Every other platform has global_nvs_t as a typedef. For some reason apollolake didn't bother following current conventions. Fix this omission to allow for better code sharing and consistency. Change-Id: Id596eed517737759a64ce803c89ea2a05cbe2cce Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15502 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/apollolake/include/soc/nvs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/include/soc/nvs.h b/src/soc/intel/apollolake/include/soc/nvs.h
index 3e4f432a78..bff949e22c 100644
--- a/src/soc/intel/apollolake/include/soc/nvs.h
+++ b/src/soc/intel/apollolake/include/soc/nvs.h
@@ -26,7 +26,7 @@
#include <vendorcode/google/chromeos/gnvs.h>
-struct global_nvs_t {
+typedef struct global_nvs_t {
/* Miscellaneous */
uint8_t pcnt; /* 0x00 - Processor Count */
uint8_t ppcm; /* 0x01 - Max PPC State */
@@ -42,6 +42,6 @@ struct global_nvs_t {
/* ChromeOS specific (0x100 - 0xfff) */
chromeos_acpi_t chromeos;
-} __attribute__((packed));
+} __attribute__((packed)) global_nvs_t;
#endif /* _SOC_APOLLOLAKE_NVS_H_ */