Files
OpenCellular/chip/g
Bill Richardson 1ade8e02a7 Cr50: Use USB structs instead of byte arrays for readability
The USB spec mandates that all structs are little-endian over the
wire. Since we're a little-endian architecture (and the code
we're changing is intentionally chip-specific), we can just cast
the hardware buffer into the correct struct. This makes the code
easier to read and understand.

BUG=none
BRANCH=none
TEST=make buildall

Change-Id: Ib2d3b04f4db1a531cb3f5ada1a2e6ee82e8a23aa
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274130
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2015-05-29 23:58:10 +00:00
..
2015-05-07 23:39:06 +00:00
2015-03-21 00:29:14 +00:00
2015-03-20 23:06:53 +00:00
2015-03-20 23:06:53 +00:00
2014-12-06 01:11:22 +00:00
2014-10-31 22:32:50 +00:00
2015-03-21 00:29:14 +00:00
2015-03-21 00:29:14 +00:00
2015-04-02 20:27:46 +00:00
2015-05-07 23:39:06 +00:00
2014-12-06 01:11:51 +00:00
2015-04-02 20:27:46 +00:00
2014-12-06 01:11:34 +00:00