brcm2708: add kernel 4.14 support
[openwrt/staging/lynxis.git] / target / linux / brcm2708 / patches-4.14 / 950-0253-BCM27XX_DT-Delete-stdout-path-property.patch
1 From 877341073006aff44e678daa775c4dbf55ca60b5 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Fri, 16 Mar 2018 10:13:19 +0000
4 Subject: [PATCH 253/454] BCM27XX_DT: Delete 'stdout-path' property
5
6 The 'stdout-path' property introduced upstream changes the behaviour
7 on a non-Bluetooth Pi by enabling a console on UART0 when the user
8 may not want one. The boot order is such that /dev/console ends up
9 on the serial port instead of tty0.
10
11 Delete the property in downstream DTBs to retrurn to the previous
12 behaviour of only enabling consoles selected in cmdline.txt.
13
14 See: https://github.com/raspberrypi/linux/issues/2436
15
16 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
17 ---
18 arch/arm/boot/dts/bcm270x.dtsi | 1 +
19 1 file changed, 1 insertion(+)
20
21 --- a/arch/arm/boot/dts/bcm270x.dtsi
22 +++ b/arch/arm/boot/dts/bcm270x.dtsi
23 @@ -4,6 +4,7 @@
24 / {
25 chosen {
26 bootargs = "";
27 + /delete-property/ stdout-path;
28 };
29
30 soc: soc {