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>
1 file changed