Ver código fonte

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 anos atrás
pai
commit
8993d5e466
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      arch/nios2/boot/dts/3c120_devboard.dts

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

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