summaryrefslogtreecommitdiff
path: root/src/ec/hp/kbc1126
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-09 08:00:59 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-09-17 13:20:56 +0000
commitc0b35ccb510259a783dce234e633e788fb76b5c2 (patch)
treedbad742cb7de5908ef2699acb62835c425947a30 /src/ec/hp/kbc1126
parentedef7d476e8cfdd97fd1e1ab740c01868ca9393f (diff)
ec/hp/kbc1126: Use packed over attrbute__((packed))
Change-Id: Ia4b142a5eac2aab7e4fa6e32ed68c96934ec6c32 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77731 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/ec/hp/kbc1126')
-rw-r--r--src/ec/hp/kbc1126/ecfw_ptr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/hp/kbc1126/ecfw_ptr.h b/src/ec/hp/kbc1126/ecfw_ptr.h
index acf54f20dd..80f980d23a 100644
--- a/src/ec/hp/kbc1126/ecfw_ptr.h
+++ b/src/ec/hp/kbc1126/ecfw_ptr.h
@@ -5,14 +5,14 @@
#include <stdint.h>
-struct __attribute__((__packed__)) ecfw_addr {
+struct __packed ecfw_addr {
/* 8-byte offset of firmware blob in big endian */
uint16_t off;
/* bitwise inverse of "off", for error checking */
uint16_t inv;
};
-struct __attribute__((__packed__)) ecfw_ptr {
+struct __packed ecfw_ptr {
struct ecfw_addr fw1;
struct ecfw_addr fw2;
};