Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
user avatar
Bernhard Messerklinger authored
Since the compiler is free to place a char array to any address in
memory (in this case the stack), also to a non word aligned address the
function "fdt_prop_parse" runs into troubles upon it wants to write some
(fdt32_t *) to such a variable (if it has been placed to a none word
aligned address).

To avoid this we tell the compiler to always align this scratchpad to a
word aligned address.

Signed-off-by: default avatarBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
Tested-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
6dfd65f8
History
Name Last commit Last update