From: Jeremy Kerr Date: Wed, 11 Feb 2015 04:55:44 +0000 (+0800) Subject: powerpc/boot/fdt: Add little-endian support to libfdt wrappers X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c87b2202f5414be3acae9df2e1833e8b46c5688;p=pandora-kernel.git 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 Acked-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed