From 2d87e9eed93ee96f624f346aae9df612b9462c04 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sun, 13 Jun 2021 16:27:15 +0000 Subject: [PATCH] Add support for sfuart(4) as a console. ok drahn@ --- sys/arch/riscv64/riscv64/machdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arch/riscv64/riscv64/machdep.c b/sys/arch/riscv64/riscv64/machdep.c index 0e24c9a3210..43cdba3c04a 100644 --- a/sys/arch/riscv64/riscv64/machdep.c +++ b/sys/arch/riscv64/riscv64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.19 2021/05/20 04:22:33 drahn Exp $ */ +/* $OpenBSD: machdep.c,v 1.20 2021/06/13 16:27:15 kettenis Exp $ */ /* * Copyright (c) 2014 Patrick Wildt @@ -177,6 +177,7 @@ fdt_find_cons(const char *name) } void com_fdt_init_cons(void); +void sfuart_init_cons(void); void consinit(void) @@ -187,7 +188,9 @@ consinit(void) return; consinit_called = 1; + com_fdt_init_cons(); + sfuart_init_cons(); } void -- 2.20.1