powerpc/boot: Add 64bit and little endian support to addnote
authorCédric Le Goater <clg@fr.ibm.com>
Thu, 24 Apr 2014 07:23:34 +0000 (09:23 +0200)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 07:36:00 +0000 (17:36 +1000)
commit284b52c4c6e32870cacbd16872a7ed9e522cde0d
tree81f4e9b8f58c902c13a83f2195e3679816c402c9
parent98fd433aa6b02ba1612f9a9b73b8eb2f7e9d3419
powerpc/boot: Add 64bit and little endian support to addnote

It could certainly be improved using Elf macros and byteswapping
routines, but the initial version of the code is organised to be a
single file program with limited dependencies. yaboot is the same.

Please scream if you want a total rewrite.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/addnote.c