Commit 359fb3f8 authored by Bin Meng's avatar Bin Meng Committed by Greg Kroah-Hartman

serial: Rename earlycon semihost driver

Now that earlycon semihost driver works on RISC-V too, let's use a
much more generic name for the driver.
Signed-off-by: default avatarBin Meng <bmeng@tinylab.org>
Tested-by: default avatarSergey Matyukevich <sergey.matyukevich@syntacore.com>
Acked-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/20221209150437.795918-4-bmeng@tinylab.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent db5489f4
...@@ -73,17 +73,17 @@ config SERIAL_AMBA_PL011_CONSOLE ...@@ -73,17 +73,17 @@ config SERIAL_AMBA_PL011_CONSOLE
your boot loader (lilo or loadlin) about how to pass options to the your boot loader (lilo or loadlin) about how to pass options to the
kernel at boot time.) kernel at boot time.)
config SERIAL_EARLYCON_ARM_SEMIHOST config SERIAL_EARLYCON_SEMIHOST
bool "Early console using ARM semihosting" bool "Early console using Arm compatible semihosting"
depends on ARM64 || ARM || RISCV depends on ARM64 || ARM || RISCV
select SERIAL_CORE select SERIAL_CORE
select SERIAL_CORE_CONSOLE select SERIAL_CORE_CONSOLE
select SERIAL_EARLYCON select SERIAL_EARLYCON
help help
Support for early debug console using ARM semihosting. This enables Support for early debug console using Arm compatible semihosting.
the console before standard serial driver is probed. This is enabled This enables the console before standard serial driver is probed.
with "earlycon=smh" on the kernel command line. The console is This is enabled with "earlycon=smh" on the kernel command line.
enabled when early_param is processed. The console is enabled when early_param is processed.
config SERIAL_EARLYCON_RISCV_SBI config SERIAL_EARLYCON_RISCV_SBI
bool "Early console using RISC-V SBI" bool "Early console using RISC-V SBI"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
obj-$(CONFIG_SERIAL_CORE) += serial_core.o obj-$(CONFIG_SERIAL_CORE) += serial_core.o
obj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o obj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
obj-$(CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST) += earlycon-arm-semihost.o obj-$(CONFIG_SERIAL_EARLYCON_SEMIHOST) += earlycon-semihost.o
obj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o obj-$(CONFIG_SERIAL_EARLYCON_RISCV_SBI) += earlycon-riscv-sbi.o
# These Sparc drivers have to appear before others such as 8250 # These Sparc drivers have to appear before others such as 8250
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment