Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Scott Wood authored
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>
Scott Wood authoredC99'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>