aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Walmsley <paul.walmsley@sifive.com>2019-10-09 12:42:44 -0700
committerPaul Walmsley <paul.walmsley@sifive.com>2019-10-14 12:30:30 -0700
commit2993c9b04e616df0848b655d7202a707a70fc876 (patch)
tree944e39ec14e7e6e7f7247c836b491bc4130e768f /arch
parentriscv: remove the switch statement in do_trap_break() (diff)
downloadlinux-dev-2993c9b04e616df0848b655d7202a707a70fc876.tar.xz
linux-dev-2993c9b04e616df0848b655d7202a707a70fc876.zip
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 <paul.walmsley@sifive.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
index 104d334511cd..88cfcb96bf23 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 {