commit | 27de1f541f1f911bc2242ae68ef7375247b36c7d | [log] [tgz] |
---|---|---|
author | Anup Patel <anup@brainfault.org> | Tue Dec 04 19:25:05 2018 +0530 |
committer | Palmer Dabbelt <palmer@sifive.com> | Wed Jan 09 14:59:57 2019 -0800 |
tree | 1f88825dd6ee4aa8424f9f71f9ca1e6a0aed3158 | |
parent | 801009424e05cf110f016d7fac7fcf20ef94941a [diff] |
tty/serial: Add RISC-V SBI earlycon support In RISC-V, the M-mode runtime firmware provide SBI calls for debug prints. This patch adds earlycon support using RISC-V SBI console calls. To enable it, just pass "earlycon=sbi" in kernel parameters. Signed-off-by: Anup Patel <anup@brainfault.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>