Re: [U-Boot] [PATCH] fdt: Fix alignment issue when reading 64-bits properties

2019-10-22 Thread Jean-Jacques Hiblot
Hi Simon, On 22/10/2019 01:46, Simon Glass wrote: Hi Jean-Jacques, On Mon, 21 Oct 2019 at 06:50, Jean-Jacques Hiblot wrote: 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 propertie

Re: [U-Boot] [PATCH] fdt: Fix alignment issue when reading 64-bits properties

2019-10-21 Thread Simon Glass
Hi Jean-Jacques, On Mon, 21 Oct 2019 at 06:50, Jean-Jacques Hiblot wrote: > > 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-o

[U-Boot] [PATCH] fdt: Fix alignment issue when reading 64-bits properties

2019-10-21 Thread Jean-Jacques Hiblot
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-