summaryrefslogtreecommitdiff
path: root/common/usb_port_power_dumb.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-11-04 11:24:30 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-05 02:32:40 +0000
commitefb6bc76553ca8c425a3c6683fbf2790d030064e (patch)
treea7e60695e169f54e42abc592bfff53f48883c3bf /common/usb_port_power_dumb.c
parent5d672b91a7f0d83e278b6f48dbd29105aabfb897 (diff)
downloadchrome-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/usb_port_power_dumb.c')
-rw-r--r--common/usb_port_power_dumb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/usb_port_power_dumb.c b/common/usb_port_power_dumb.c
index 62ac0732f6..8c4081dd6d 100644
--- a/common/usb_port_power_dumb.c
+++ b/common/usb_port_power_dumb.c
@@ -26,7 +26,6 @@ BUILD_ASSERT(USB_PORT_COUNT == 2);
static struct usb_state {
uint8_t en[USB_PORT_COUNT];
- uint8_t pad[2]; /* Pad to 4 bytes for system_add_jump_tag(). */
} state;
static void usb_port_set_enabled(int port_id, int en)