[PATCH v=2] serial: implement riscv SBI console support
Sascha Hauer
sha at pengutronix.de
Fri Oct 1 02:27:31 PDT 2021
On Mon, Sep 27, 2021 at 05:05:21PM -0300, Marcelo Politzer wrote:
> Implement a console over legacy SBI (version 0.1.0). There is a tiny ringbuffer
> to simplify checking for presence and reading characters as separate steps.
> ---
> arch/riscv/cpu/core.c | 12 ++++++++
> arch/riscv/lib/sbi.c | 10 +++++++
> drivers/serial/Kconfig | 8 +++++
> drivers/serial/Makefile | 1 +
> drivers/serial/serial_sbi.c | 58 +++++++++++++++++++++++++++++++++++++
> 5 files changed, 89 insertions(+)
> create mode 100644 drivers/serial/serial_sbi.c
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list