xen/char: default HAS_NS16550 to y only for X86 and ARM
authorConnor Davis <connojdavis@gmail.com>
Wed, 9 Jun 2021 10:43:45 +0000 (12:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 9 Jun 2021 10:43:45 +0000 (12:43 +0200)
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

index b57230565751ef760879c0bc2c31a3ed214065e4..2ff5b288e2a5e4c3dae99531d353ad49fdc13655 100644 (file)
@@ -1,5 +1,6 @@
 config HAS_NS16550
        bool "NS16550 UART driver" if ARM
+       default n if RISCV
        default y
        help
          This selects the 16550-series UART support. For most systems, say Y.