summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2014-06-20 16:24:49 +0530
committerVineet Gupta <vgupta@synopsys.com>2014-10-13 14:46:15 +0530
commit5c05483e2db91890faa9a7be0a831701a3f442d6 (patch)
treef4bbed0b5386bf7d6dc9dba95bccab38ae6aef32
parentb4c43b4908fb53c6cd00281f1b19cc54d7791299 (diff)
downloadlinux-5c05483e2db91890faa9a7be0a831701a3f442d6.tar.gz
linux-5c05483e2db91890faa9a7be0a831701a3f442d6.tar.bz2
linux-5c05483e2db91890faa9a7be0a831701a3f442d6.zip
ARC: [nsimosci] Allow "headless" models to boot
There are certain test configuration of virtual platform which don't have any real console device (uart/pgu). So add tty0 as a fallback console device to allow system to boot and be accessible via telnet Otherwise with ttyS0 as only console, but 8250 disabled in kernel build, init chokes. Reported-by: Anton Kolesov <akolesov@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: <stable@vger.kernel.org> #3.10, 3.12, 3.14, 3.16
-rw-r--r--arch/arc/boot/dts/nsimosci.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/boot/dts/nsimosci.dts b/arch/arc/boot/dts/nsimosci.dts
index 825065d66d65..cfaedd9c61c9 100644
--- a/arch/arc/boot/dts/nsimosci.dts
+++ b/arch/arc/boot/dts/nsimosci.dts
@@ -20,7 +20,7 @@
/* this is for console on PGU */
/* bootargs = "console=tty0 consoleblank=0"; */
/* this is for console on serial */
- bootargs = "earlycon=uart8250,mmio32,0xc0000000,115200n8 console=ttyS0,115200n8 consoleblank=0 debug";
+ bootargs = "earlycon=uart8250,mmio32,0xc0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug";
};
aliases {