OSDN Git Service

tty/serial: use uart_console_write in the RISC-V SBL early console
authorAndreas Schwab <schwab@suse.de>
Thu, 10 Jan 2019 17:11:39 +0000 (18:11 +0100)
committerPalmer Dabbelt <palmer@sifive.com>
Wed, 23 Jan 2019 23:41:50 +0000 (15:41 -0800)
commita19f74708ef693d7ddc3ee577a458b6807d43e5b
treeb25820af6e216476c7fa247a52c7239c7619fd82
parent2a200fb9fb124e2889516c4668c5483bf7107044
tty/serial: use uart_console_write in the RISC-V SBL early console

This enables proper NLCR processing.

Suggested-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
drivers/tty/serial/earlycon-riscv-sbi.c