[PATCH 2/5 v2] powerpc/boot/fdt: Add little-endian support to libfdt wrappers
Cedric Le Goater
clg at fr.ibm.com
Tue Feb 17 03:53:17 AEDT 2015
On 02/11/2015 05:55 AM, 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 <jk at ozlabs.org>
> Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
I did not work on the little endian epapr wrapper :/
To test the patchset, I used the 'le' branch of git://github.com/jk-ozlabs/linux
and successfully booted a tuleta and an open-power system using the latest
skiboot and a LE zImage.epapr. Looks good to me.
You might want to add CONFIG_IPMI_WATCHDOG to openpower_defconfig
Thanks.
C.
More information about the Linuxppc-dev
mailing list