Files
u-boot-sunxi/cmd
Bernhard Messerklinger 6dfd65f81f cmd/fdt.c align data buffer to avoid unaligned word access
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: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Tested-by: Hannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-11-16 18:45:05 -07:00
..
2017-02-08 15:56:28 -05:00
2017-04-12 13:28:27 -04:00
2017-08-16 08:30:24 -04:00
2017-07-03 17:35:28 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-06-16 10:11:42 -04:00
2017-10-16 09:42:51 -04:00
2017-08-16 08:30:24 -04:00
2017-01-20 09:15:24 -05:00
2017-03-28 06:27:54 +02:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-02-08 15:56:28 -05:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-10-16 09:42:51 -04:00
2017-08-16 08:30:24 -04:00
2017-10-16 09:42:51 -04:00
2017-08-16 08:22:18 -04:00
2017-08-11 15:41:51 -04:00
2017-06-12 08:37:55 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-09-12 10:08:05 +02:00
2017-08-16 08:30:24 -04:00