[PATCH 1/2] serial: Add riscv_sbi console support
Bin Meng
bmeng.cn at gmail.com
Thu May 21 10:10:10 CEST 2020
Hi,
On Wed, May 20, 2020 at 7:16 PM Kongou Hikari <hikari at nucleisys.com> wrote:
>
> - This patch supports debug serial and console from SBI syscall.
>
> Signed-off-by: Kongou Hikari <hikari at nucleisys.com>
> ---
> drivers/serial/Kconfig | 17 +++++
> drivers/serial/Makefile | 1 +
> drivers/serial/serial_riscv_sbi.c | 104 ++++++++++++++++++++++++++++++
> 3 files changed, 122 insertions(+)
> create mode 100644 drivers/serial/serial_riscv_sbi.c
>
The SBI calls sbi_console_getchar & sbi_console_putchar are marked as
legacy calls, and in U-Boot we default to use SBI v0.2
There is not a big value of adding that to the mainline IMHO.
Regards,
Bin
More information about the U-Boot
mailing list