RISC-V: defconfig: Enable RISC-V SBI earlycon support
authorAnup Patel <anup@brainfault.org>
Tue, 4 Dec 2018 13:55:06 +0000 (19:25 +0530)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 17 Dec 2018 18:23:46 +0000 (10:23 -0800)
This patch enables RISC-V SBI earlycon support in default defconfig
so that we can use "earlycon=sbi" in kernel parameters for early
debug prints.

Signed-off-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/configs/defconfig

index ef4f15d..f399659 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_INPUT_MOUSEDEV=y
 CONFIG_SERIAL_8250=y
 CONFIG_SERIAL_8250_CONSOLE=y
 CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_SERIAL_EARLYCON_RISCV_SBI=y
 CONFIG_HVC_RISCV_SBI=y
 # CONFIG_PTP_1588_CLOCK is not set
 CONFIG_DRM=y