Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
- Loading branch information