powerpc/boot: Fixup device-tree on little endian
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Jun 2021 03:49:00 +0000 (13:49 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:17:50 +0000 (16:17 +0200)
commit3a8e2e83d205ac30d8844e4ea5ae6c3f15c13f20
tree7346214b2b120de97b4cc4e15944f624d6218704
parente8f59f48f113ed8ea64b3f241bd017c70e7fc3fd
powerpc/boot: Fixup device-tree on little endian

[ Upstream commit c93f80849bdd9b45d834053ae1336e28f0026c84 ]

This fixes the core devtree.c functions and the ns16550 UART backend.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/YMwXrPT8nc4YUdJ9@thinks.paulus.ozlabs.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/boot/devtree.c
arch/powerpc/boot/ns16550.c