diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2014-03-31 12:52:09 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2014-06-03 10:50:09 +0200 |
commit | e87a850b9c92be6a8cf5735c516ec864d65f24dd (patch) | |
tree | 5121fa121b6bd6ce2d6dbed6eee0ac5c213d7fa0 /arch/arc/boot/dts/angel4.dts | |
parent | ARC: [arcfpga] Get rid of legacy BVCI latency unit support (diff) | |
download | linux-e87a850b9c92be6a8cf5735c516ec864d65f24dd.tar.xz linux-e87a850b9c92be6a8cf5735c516ec864d65f24dd.zip |
ARC: [arcfpga] Early ARC UART to be only activated by cmdline
Earlier CONFIG_SERIAL_ARC_CONSOLE would unconditionally enable the
legacy ARC UART based early console even if platform lacked that UART
(e.g. nSIM OSCI platform).
So a multi-platform image containing the 2 UART drivers won't work.
Fix that by probing the driver only if "earlyprintk=ttyARC0" is present
in cmdline.
Reported-by: Chuck Jordan <cjordan@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot/dts/angel4.dts')
-rw-r--r-- | arch/arc/boot/dts/angel4.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/boot/dts/angel4.dts b/arch/arc/boot/dts/angel4.dts index bcf662d21a57..5bb2fdaca02f 100644 --- a/arch/arc/boot/dts/angel4.dts +++ b/arch/arc/boot/dts/angel4.dts @@ -17,7 +17,7 @@ interrupt-parent = <&intc>; chosen { - bootargs = "console=ttyARC0,115200n8"; + bootargs = "console=ttyARC0,115200n8 earlyprintk=ttyARC0"; }; aliases { |