]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
nios2: add earlycon support to 3c120 devboard DTS
authorTobias Klauser <tklauser@distanz.ch>
Tue, 20 Jun 2017 07:43:18 +0000 (09:43 +0200)
committerLey Foon Tan <ley.foon.tan@intel.com>
Fri, 15 Sep 2017 12:30:52 +0000 (20:30 +0800)
Allow earlycon to be used on the JTAG UART present in the 3c120 GHRD.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
arch/nios2/boot/dts/3c120_devboard.dts

index 31c51f9a2f0973c9d9ee38637ff00b988eb280a2..36ccdf05837dec19988d0be5206257d09a92ecd6 100644 (file)
@@ -159,6 +159,7 @@ partition@800000 {
        };
 
        chosen {
-               bootargs = "debug console=ttyJ0,115200";
+               bootargs = "debug earlycon console=ttyJ0,115200";
+               stdout-path = &jtag_uart;
        };
 };