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)
This commit is contained in:
Aaron Durbin 2016-06-29 17:26:33 -05:00
parent be87f73c68
commit 2656219008
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
#include <vendorcode/google/chromeos/gnvs.h> #include <vendorcode/google/chromeos/gnvs.h>
struct global_nvs_t { typedef struct global_nvs_t {
/* Miscellaneous */ /* Miscellaneous */
uint8_t pcnt; /* 0x00 - Processor Count */ uint8_t pcnt; /* 0x00 - Processor Count */
uint8_t ppcm; /* 0x01 - Max PPC State */ uint8_t ppcm; /* 0x01 - Max PPC State */
@ -42,6 +42,6 @@ struct global_nvs_t {
/* ChromeOS specific (0x100 - 0xfff) */ /* ChromeOS specific (0x100 - 0xfff) */
chromeos_acpi_t chromeos; chromeos_acpi_t chromeos;
} __attribute__((packed)); } __attribute__((packed)) global_nvs_t;
#endif /* _SOC_APOLLOLAKE_NVS_H_ */ #endif /* _SOC_APOLLOLAKE_NVS_H_ */