powerpc: Look for "stdout-path" when setting up legacy consoles
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 30 Nov 2018 03:54:09 +0000 (14:54 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 1 Dec 2018 03:37:36 +0000 (14:37 +1100)
commitbf3d6afbb234156749b640b6c50f714967a85964
tree2c80fc83f2703a936479bac2910e4d56cd1f5aed
parent78e7b15e17ac175e7eed9e21c6f92d03d3b0a6fa
powerpc: Look for "stdout-path" when setting up legacy consoles

Commit 78e5dfea84dc ("powerpc: dts: replace 'linux,stdout-path' with
'stdout-path'") broke the default console on a number of embedded
PowerPC systems, because it failed to also update the code in
arch/powerpc/kernel/legacy_serial.c to look for that property in
addition to the old one.

This fixes it.

Fixes: 78e5dfea84dc ("powerpc: dts: replace 'linux,stdout-path' with 'stdout-path'")
Cc: stable@vger.kernel.org # v4.17+
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/legacy_serial.c