riscv: dts: HiFive Unleashed: add default chosen/stdout-path
authorPaul Walmsley <paul.walmsley@sifive.com>
Wed, 9 Oct 2019 19:42:44 +0000 (12:42 -0700)
committerPaul Walmsley <paul.walmsley@sifive.com>
Mon, 14 Oct 2019 19:30:30 +0000 (12:30 -0700)
Add a default "stdout-path" to the kernel DTS file, as is present in many
of the board DTS files elsewhere in the kernel tree. With this line
present, earlyconsole can be enabled by simply passing "earlycon" on the
kernel command line.  No specific device details are necessary, since the
kernel will use the stdout-path as the default.

Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts

index 104d334..88cfcb9 100644 (file)
@@ -13,6 +13,7 @@
        compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000";
 
        chosen {
+               stdout-path = "serial0";
        };
 
        cpus {