diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2018-02-22 10:54:23 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-02-22 20:17:14 -0800 |
commit | 58759f5fbb21edaafab8fe212980a8cae692e686 (patch) | |
tree | 50bfcb523f0bacb401e19653c3dac3758f82a68c /extra/usb_updater | |
parent | cd76cde2173e7e18d54865d97beece25fa2cb14e (diff) | |
download | chrome-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 'extra/usb_updater')
-rw-r--r-- | extra/usb_updater/gsctool.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/extra/usb_updater/gsctool.c b/extra/usb_updater/gsctool.c index 2fbc443a78..6985501127 100644 --- a/extra/usb_updater/gsctool.c +++ b/extra/usb_updater/gsctool.c @@ -20,11 +20,6 @@ #include <termios.h> #include <unistd.h> - -#ifndef __packed -#define __packed __attribute__((packed)) -#endif - #include "config.h" #include "ccd_config.h" |