diff options
author | Randall Spangler <rspangler@chromium.org> | 2013-11-04 11:24:30 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-11-05 02:32:40 +0000 |
commit | efb6bc76553ca8c425a3c6683fbf2790d030064e (patch) | |
tree | a7e60695e169f54e42abc592bfff53f48883c3bf /common/fan.c | |
parent | 5d672b91a7f0d83e278b6f48dbd29105aabfb897 (diff) | |
download | chrome-ec-efb6bc76553ca8c425a3c6683fbf2790d030064e.tar.gz |
Pad jump tags to 4 bytes inside the system module
That way all the users of jump tags don't need to know about the
padding requirements.
BUG=chrome-os-partner:23851
BRANCH=none
TEST=enable CONFIG_CMD_JUMPTAGS, then 'jumptags'. Output should be
something like this:
20007fbc: 0x5550 UP.1 2
20007fc4: 0x4b42 KB.2 3
20007fcc: 0x4c50 LP.1 12
20007fdc: 0x4d54 MT.1 8
All the addresses in the first column should be word-aligned. The
sizes in the last column don't need to be a multiple of 4.
Change-Id: I91f9c29701a007ef8a56b5b7e0ea09930dfbea31
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175591
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/fan.c')
-rw-r--r-- | common/fan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/fan.c b/common/fan.c index b080253944..9d9c0f68fc 100644 --- a/common/fan.c +++ b/common/fan.c @@ -339,7 +339,6 @@ BUILD_ASSERT(CONFIG_FANS <= EC_FAN_SPEED_ENTRIES); struct pwm_fan_state { uint16_t fan_rpm; uint8_t fan_en; - char pad; /* Pad to multiple of 4 bytes. */ }; static void pwm_fan_init(void) |