commit | a166fbca20e40937bf37cc18c389f68e995c1821 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Fri May 17 20:01:54 2013 -0500 |
committer | Wolfgang Denk <wd@denx.de> | Tue Jun 11 22:01:45 2013 +0200 |
tree | ca90c9999014f7172aefabf257c9c0d2533aecf4 | |
parent | e1208c2fe5e07f9a248cfbf9bbb212aa34ad2806 [diff] |
powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 C99's strict aliasing rules are insane to use in low-level code such as a bootloader, but as Wolfgang has rejected -fno-strict-aliasing in the past, add a union so that 16-bit accesses can be performed. Compile-tested only. Signed-off-by: Scott Wood <scottwood@freescale.com> Acked-by: Wolfgang Denk <wd@denx.de>