soc/amd/stoneyridge: Use __packed
__packed has been introduced in commit 6a00113de8
("Rename __attribute__((packed)) --> __packed"). Use it.
Change-Id: Ie654567ebff884b911de10bd9fef605436e72af8
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/21346
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
committed by
Martin Roth
parent
1194aa8d08
commit
f2f27c6bbd
@@ -24,6 +24,7 @@
|
|||||||
#ifndef __SOC_STONEYRIDGE_NVS_H__
|
#ifndef __SOC_STONEYRIDGE_NVS_H__
|
||||||
#define __SOC_STONEYRIDGE_NVS_H__
|
#define __SOC_STONEYRIDGE_NVS_H__
|
||||||
|
|
||||||
|
#include <compiler.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <vendorcode/google/chromeos/gnvs.h>
|
#include <vendorcode/google/chromeos/gnvs.h>
|
||||||
|
|
||||||
@@ -46,6 +47,6 @@ typedef struct global_nvs_t {
|
|||||||
|
|
||||||
/* ChromeOS specific (0x100 - 0xfff) */
|
/* ChromeOS specific (0x100 - 0xfff) */
|
||||||
chromeos_acpi_t chromeos;
|
chromeos_acpi_t chromeos;
|
||||||
} __attribute__((packed)) global_nvs_t;
|
} __packed global_nvs_t;
|
||||||
|
|
||||||
#endif /* __SOC_STONEYRIDGE_NVS_H__ */
|
#endif /* __SOC_STONEYRIDGE_NVS_H__ */
|
||||||
|
Reference in New Issue
Block a user