summaryrefslogtreecommitdiff
path: root/src/cpu/ti/am335x/header.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/ti/am335x/header.c')
-rw-r--r--src/cpu/ti/am335x/header.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/ti/am335x/header.c b/src/cpu/ti/am335x/header.c
index d59e29749d..a260425f48 100644
--- a/src/cpu/ti/am335x/header.c
+++ b/src/cpu/ti/am335x/header.c
@@ -15,6 +15,7 @@
#include <stddef.h>
#include <stdint.h>
#include <symbols.h>
+#include <compiler.h>
#include "header.h"
@@ -25,7 +26,7 @@ struct config_headers {
// An inert instance of chsettings.
struct configuration_header_settings chsettings;
-} __attribute__((packed));
+} __packed;
struct omap_image_headers {
union {