From: Thomas Falcon Date: Fri, 25 Jul 2014 17:47:42 +0000 (-0500) Subject: powerpc: Fix endianness of flash_block_list in rtas_flash X-Git-Tag: omap-for-v3.17/fixes-against-rc2~220^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=396a34340cdf7373c00e3977db27d1a20ea65ebc;p=pandora-kernel.git powerpc: Fix endianness of flash_block_list in rtas_flash The function rtas_flash_firmware passes the address of a data structure, flash_block_list, when making the update-flash-64-and-reboot rtas call. While the endianness of the address is handled correctly, the endianness of the data is not. This patch ensures that the data in flash_block_list is big endian when passed to rtas on little endian hosts. Signed-off-by: Thomas Falcon Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed