From: Paul Walmsley Date: Wed, 9 Oct 2019 19:42:44 +0000 (-0700) Subject: riscv: dts: HiFive Unleashed: add default chosen/stdout-path X-Git-Tag: v5.4-rc4~9^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2993c9b04e616df0848b655d7202a707a70fc876;p=thirdparty%2Fkernel%2Flinux.git riscv: dts: HiFive Unleashed: add default chosen/stdout-path 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 Reviewed-by: Atish Patra --- diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts index 104d334511cd6..88cfcb96bf233 100644 --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts @@ -13,6 +13,7 @@ compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; chosen { + stdout-path = "serial0"; }; cpus {