commit | 8c95682b05ae4fe05de2adf47972b1c63d52ee84 | [log] [tgz] |
---|---|---|
author | Kevin Cernekee <cernekee@chromium.org> | Sun May 24 01:49:52 2015 |
committer | Kevin Cernekee <cernekee@chromium.org> | Tue Jun 16 18:01:33 2015 |
tree | d0834d56fe2b6cb8a5eb4586a44fd0d9fdd7d428 | |
parent | ed567069b1aeedadb106f37c7ae243aac06aded4 [diff] |
Fix gcc type punned pointer warnings in makechips.c Instead of casting a char * to uint32_t *, use a helper function so that we can avoid unaligned reads, endian problems, and "helpful" compiler optimizations. BUG=chromium:213898 TEST=compare em100pro_chips.h before and after change Change-Id: I9d2c2e85ff25e14d5d4b5c93ff990205dae4ee8d Signed-off-by: Kevin Cernekee <cernekee@chromium.org>