Re: [PATCH 1/4] powerpc/boot/fdt: Add little-endian support to libfdt wrappers

2015-02-10 Thread Benjamin Herrenschmidt
On Tue, 2015-02-10 at 20:15 +0800, Jeremy Kerr wrote: > For epapr-style boot, we may be little-endian. This change implements > the proper conversion for fdt*_to_cpu and cpu_to_fdt*. We also need the > full cpu_to_* and *_to_cpu macros for this. > > Signed-off-by: Jeremy Kerr Acked-by: Benjamin

[PATCH 1/4] powerpc/boot/fdt: Add little-endian support to libfdt wrappers

2015-02-10 Thread Jeremy Kerr
For epapr-style boot, we may be little-endian. This change implements the proper conversion for fdt*_to_cpu and cpu_to_fdt*. We also need the full cpu_to_* and *_to_cpu macros for this. Signed-off-by: Jeremy Kerr --- arch/powerpc/boot/libfdt_env.h | 14 -- arch/powerpc/boot/of.h