From e87a850b9c92be6a8cf5735c516ec864d65f24dd Mon Sep 17 00:00:00 2001 From: Vineet Gupta Date: Mon, 31 Mar 2014 16:22:09 +0530 Subject: 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 Signed-off-by: Vineet Gupta --- arch/arc/boot/dts/angel4.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arc/boot') diff --git a/arch/arc/boot/dts/angel4.dts b/arch/arc/boot/dts/angel4.dts index bcf662d..5bb2fda 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 { -- cgit v1.1