c8740b8ad5
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49166
96 lines
2.4 KiB
Diff
96 lines
2.4 KiB
Diff
From 5a6516ff135555aa53c7d156cd3973b826e011f9 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
|
|
Date: Wed, 6 Apr 2016 18:49:55 +0200
|
|
Subject: [PATCH] ARM: BCM5301X: Enable earlycon on tested devices
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This allows reporting & debugging problems occurring early in the boot
|
|
process.
|
|
|
|
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
|
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
|
|
--- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
+++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
|
|
@@ -17,7 +17,7 @@
|
|
model = "Buffalo WZR-1750DHP (BCM4708)";
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,115200";
|
|
+ bootargs = "console=ttyS0,115200 earlycon";
|
|
};
|
|
|
|
memory {
|
|
--- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
|
|
+++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
|
|
@@ -17,7 +17,7 @@
|
|
model = "Luxul XWC-1000 (BCM4708)";
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,115200";
|
|
+ bootargs = "console=ttyS0,115200 earlycon";
|
|
};
|
|
|
|
memory {
|
|
--- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
|
+++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
|
|
@@ -17,7 +17,7 @@
|
|
model = "Netgear R6250 V1 (BCM4708)";
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,115200";
|
|
+ bootargs = "console=ttyS0,115200 earlycon";
|
|
};
|
|
|
|
memory {
|
|
--- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
|
+++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
|
|
@@ -17,7 +17,7 @@
|
|
model = "SmartRG SR400ac";
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,115200";
|
|
+ bootargs = "console=ttyS0,115200 earlycon";
|
|
};
|
|
|
|
memory {
|
|
--- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
|
+++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
|
|
@@ -17,7 +17,7 @@
|
|
model = "Buffalo WZR-600DHP2 (BCM47081)";
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,115200";
|
|
+ bootargs = "console=ttyS0,115200 earlycon";
|
|
};
|
|
|
|
memory {
|
|
--- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
|
|
+++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
|
|
@@ -17,7 +17,7 @@
|
|
model = "D-Link DIR-885L";
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,115200";
|
|
+ bootargs = "console=ttyS0,115200 earlycon";
|
|
};
|
|
|
|
memory {
|
|
--- a/arch/arm/boot/dts/bcm5301x.dtsi
|
|
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
|
|
@@ -18,6 +18,10 @@
|
|
/ {
|
|
interrupt-parent = <&gic>;
|
|
|
|
+ chosen {
|
|
+ stdout-path = &uart0;
|
|
+ };
|
|
+
|
|
chipcommonA {
|
|
compatible = "simple-bus";
|
|
ranges = <0x00000000 0x18000000 0x00001000>;
|