diff mbox series

[v8,1/2] xen/char: Default HAS_NS16550 to y only for X86 and ARM

Message ID 3886e351e8333f68462b0d2f9ecb1e243cb8b9ec.1622772299.git.connojdavis@gmail.com (mailing list archive)
State New
Headers show
Series Minimal build for RISCV | expand

Commit Message

Connor Davis June 4, 2021, 2:14 a.m. UTC
Defaulting to yes only for X86 and ARM reduces the requirements
for a minimal build when porting new architectures.

Signed-off-by: Connor Davis <connojdavis@gmail.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
 xen/drivers/char/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/xen/drivers/char/Kconfig b/xen/drivers/char/Kconfig
index b572305657..2ff5b288e2 100644
--- a/xen/drivers/char/Kconfig
+++ b/xen/drivers/char/Kconfig
@@ -1,5 +1,6 @@ 
 config HAS_NS16550
 	bool "NS16550 UART driver" if ARM
+	default n if RISCV
 	default y
 	  This selects the 16550-series UART support. For most systems, say Y.