fdt: Fix alignment issue when reading 64-bits properties from fdt
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 22 Oct 2019 08:05:22 +0000 (10:05 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 19:01:53 +0000 (13:01 -0600)
The FDT specification [0] gives a requirement of aligning properties on
32-bits. Make sure that the compiler is aware of this constraint when
accessing 64-bits properties.

[0]: https://github.com/devicetree-org/devicetree-specification/blob/master/source/flattened-format.rst

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

No differences found