aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/mrc_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/common/mrc_cache.c')
-rw-r--r--src/soc/intel/common/mrc_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/common/mrc_cache.c b/src/soc/intel/common/mrc_cache.c
index e0d4b7de01..3ad4cb0d6e 100644
--- a/src/soc/intel/common/mrc_cache.c
+++ b/src/soc/intel/common/mrc_cache.c
@@ -13,6 +13,7 @@
* GNU General Public License for more details.
*/
+#include <compiler.h>
#include <string.h>
#include <boot_device.h>
#include <bootstate.h>
@@ -40,7 +41,7 @@ struct mrc_metadata {
uint16_t data_checksum;
uint16_t header_checksum;
uint32_t version;
-} __attribute__((packed));
+} __packed;
enum result {
UPDATE_FAILURE = -1,