MIPS: Octeon: Handle bootloader structures in little-endian mode.
authorDavid Daney <david.daney@cavium.com>
Fri, 20 Mar 2015 16:11:56 +0000 (19:11 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:21:23 +0000 (17:21 +0200)
commit534c158ea64b8977c7971a0a609018ab48c5c055
treef8539a8a7873fdec1e933ae4382fa05128af2d27
parentbe37a9900b0470fc424fe3382a414eabf759a8ac
MIPS: Octeon: Handle bootloader structures in little-endian mode.

Compensate for the differences in the layout of in-memory bootloader
information as seen from little-endian mode.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9590/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/octeon_boot.h
arch/mips/include/asm/octeon/cvmx-bootinfo.h