Message ID | 20181204135507.3706-3-anup@brainfault.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | RISC-V SBI earlycon | expand |
On Tue, 04 Dec 2018 05:55:06 PST (-0800), anup@brainfault.org wrote: > 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> > --- > arch/riscv/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig > index ef4f15df9adf..f399659d3b8d 100644 > --- a/arch/riscv/configs/defconfig > +++ b/arch/riscv/configs/defconfig > @@ -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 Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index ef4f15df9adf..f399659d3b8d 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -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
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> --- arch/riscv/configs/defconfig | 1 + 1 file changed, 1 insertion(+)