[PATCH v2 04/15] powerpc/boot: add byteswapping routines in oflib

2014-04-24 Thread Cédric Le Goater
Values will need to be byte-swapped when calling prom (big endian) from a little endian boot wrapper. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- arch/powerpc/boot/of.h|3 +++ arch/powerpc/boot/ofconsole.c |6 -- arch/powerpc/boot/oflib.c | 22

[PATCH v2 04/15] powerpc/boot: add byteswapping routines in oflib

2014-04-14 Thread Cédric Le Goater
Values will need to be byte-swapped when calling prom (big endian) from a little endian boot wrapper. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- arch/powerpc/boot/of.h|3 +++ arch/powerpc/boot/ofconsole.c |6 -- arch/powerpc/boot/oflib.c | 22