Browse Source

nios2: add earlycon support to 3c120 devboard DTS

Allow earlycon to be used on the JTAG UART present in the 3c120 GHRD.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Tobias Klauser 8 years ago
parent
commit
8993d5e466
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/nios2/boot/dts/3c120_devboard.dts

+ 2 - 1
arch/nios2/boot/dts/3c120_devboard.dts

@@ -159,6 +159,7 @@
 	};
 	};
 
 
 	chosen {
 	chosen {
-		bootargs = "debug console=ttyJ0,115200";
+		bootargs = "debug earlycon console=ttyJ0,115200";
+		stdout-path = &jtag_uart;
 	};
 	};
 };
 };