Skip to content
Snippets Groups Projects
user avatar
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: default avatarScott Wood <scottwood@freescale.com>
Acked-by: default avatarWolfgang Denk <wd@denx.de>
a166fbca
History
Name Last commit Last update
..
api
standalone