commit | 6c87b2202f5414be3acae9df2e1833e8b46c5688 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Wed Feb 11 12:55:44 2015 +0800 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Mar 16 18:58:31 2015 +1100 |
tree | 66b618a24bac394d129577d24ecfd423b467ebba | |
parent | 1680e4ba3d4f0ab12c387975584924f585fc77eb [diff] |
powerpc/boot/fdt: Add little-endian support to libfdt wrappers 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 <jk@ozlabs.org> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>