mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 08:31:52 +00:00
e96afe490f238f02e6598fe48f66cae895a1732f
struct ec_params_usb_pd_rw_hash_entry is packed so addressing rw_hash array caused alignment faults. CL removes union in favor of just shipping bytes across the host command. BRANCH=samus BUG=none TEST=manual from DUT ectool --name cros_pd infopddev 0 Port:0 Device:1025 Hash: 0xa90a5d48 0xcc2af4ea 0xc7796d08 0x4a8f9e8e 0x0ba7578b ectool --name cros_pd rwhashpd 1025 0xa90a5d48 0xcc2af4ea 0xc7796d08 0x4a8f9e8e 0x0ba7578b from PD MCU console, pd rwhashtable # no exception due to memory read alignment and ... Device:0x0401 Hash: 0xa90a5d48 0xcc2af4ea 0xc7796d08 0x4a8f9e8e 0x0ba7578b Device:0x0000 Hash: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 Device:0x0000 Hash: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 Device:0x0000 Hash: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 Change-Id: I134a5402eac3e5159441ce6c483633ca0d575a03 Signed-off-by: Todd Broch <tbroch@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/226890 Reviewed-by: Alec Berg <alecaberg@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%