powerpc/powernv: Fix little endian issues in OPAL flash code
authorAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 21:25:34 +0000 (07:25 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 03:08:50 +0000 (13:08 +1000)
commitcc146d1db0673396429ce4f906350d684ef4ca2a
treed2299506adc3bd4591522230b10c81d9620cac48
parent298b34d7d578c3b4325248b823f3d83a8ea1541c
powerpc/powernv: Fix little endian issues in OPAL flash code

With this patch I was able to update firmware on an LE kernel.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/opal-flash.c