From 7d9a5ccb68b57f37a9058c9644983d6f41f35368 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 30 Apr 2021 03:17:08 +0000 Subject: [PATCH] remove commented arm console init lines --- sys/arch/riscv64/riscv64/machdep.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/sys/arch/riscv64/riscv64/machdep.c b/sys/arch/riscv64/riscv64/machdep.c index 1b50dc1b902..398a52b2fc3 100644 --- a/sys/arch/riscv64/riscv64/machdep.c +++ b/sys/arch/riscv64/riscv64/machdep.c @@ -120,7 +120,6 @@ atoi(const char *s) return (neg ? -n : n); } - void * fdt_find_cons(const char *name) { @@ -169,15 +168,7 @@ fdt_find_cons(const char *name) return (NULL); } -#if 0 // CMPE: not supporting following uarts -extern void amluart_init_cons(void); -extern void imxuart_init_cons(void); -extern void mvuart_init_cons(void); -extern void pluart_init_cons(void); -extern void simplefb_init_cons(bus_space_tag_t); -#endif - -extern void com_fdt_init_cons(void); +void com_fdt_init_cons(void); void consinit(void) @@ -188,18 +179,9 @@ consinit(void) return; consinit_called = 1; -#if 0 //no support - amluart_init_cons(); - com_fdt_init_cons(); - imxuart_init_cons(); - mvuart_init_cons(); - pluart_init_cons(); - simplefb_init_cons(&riscv64_bs_tag); -#endif com_fdt_init_cons(); } - //XXX TODO: need to populate console for qemu //maybe no longer needed, as already have cn_tab ?? struct consdev constab[] = { -- 2.20.1