summaryrefslogtreecommitdiff
path: root/chip/g/upgrade_fw.h
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2018-02-22 10:54:23 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-02-22 20:17:14 -0800
commit58759f5fbb21edaafab8fe212980a8cae692e686 (patch)
tree50bfcb523f0bacb401e19653c3dac3758f82a68c /chip/g/upgrade_fw.h
parentcd76cde2173e7e18d54865d97beece25fa2cb14e (diff)
downloadchrome-ec-58759f5fbb21edaafab8fe212980a8cae692e686.tar.gz
cr50: use single __packed definition
Various parts of Cr50 code and Cr50 related utilities duplicate definition of __packed available in include/common.h. Let's use the same definition everywhere. BRANCH=cr50, cr50-mp BUG=none TEST=make buildall succeeds verified that linker generated map files for Cr50 RW are the same before and after this change. built and used gsctoo and rma_reset Change-Id: Ib91f9bbad1f6822b347f32b393630f592df80d60 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/931929 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/g/upgrade_fw.h')
-rw-r--r--chip/g/upgrade_fw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip/g/upgrade_fw.h b/chip/g/upgrade_fw.h
index 1c5dc7290a..d3414b103e 100644
--- a/chip/g/upgrade_fw.h
+++ b/chip/g/upgrade_fw.h
@@ -8,6 +8,7 @@
#include <stddef.h>
+#include "common.h" /* For __packed. */
/*
* This file contains structures used to facilitate cr50 firmware updates,