qemu/hw/char/Kconfig
Philippe Mathieu-Daudé 8cbb537ea9 hw/riscv/Kconfig: Add missing dependency MICROCHIP_PFSOC -> SERIAL
Commit a8fb0a500a ("hw/char: Add Microchip PolarFire SoC MMUART
emulation") added a dependency on the SERIAL model, but forgot to
add the Kconfig selector.
Add the dependency to the MCHP_PFSOC_MMUART symbol to fix when
building the MICROCHIP_PFSOC machine stand-alone:

  /usr/bin/ld: libcommon.fa.p/hw_char_mchp_pfsoc_mmuart.c.o: in function `mchp_pfsoc_mmuart_create':
  hw/char/mchp_pfsoc_mmuart.c:79: undefined reference to `serial_mm_init'

Fixes: a8fb0a500a ("hw/char: Add Microchip PolarFire SoC MMUART emulation")
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210515173716.358295-7-philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2021-07-20 15:32:34 +02:00

71 lines
813 B
Plaintext

config ESCC
bool
config HTIF
bool
config PARALLEL
bool
default y
depends on ISA_BUS
config PL011
bool
config SERIAL
bool
config SERIAL_ISA
bool
default y
depends on ISA_BUS
select SERIAL
config SERIAL_PCI
bool
default y if PCI_DEVICES
depends on PCI
select SERIAL
config SERIAL_PCI_MULTI
bool
default y if PCI_DEVICES
depends on PCI
select SERIAL
config VIRTIO_SERIAL
bool
default y
depends on VIRTIO
config STM32F2XX_USART
bool
config CMSDK_APB_UART
bool
config SCLPCONSOLE
bool
config TERMINAL3270
bool
config SH_SCI
bool
config RENESAS_SCI
bool
config AVR_USART
bool
config MCHP_PFSOC_MMUART
bool
select SERIAL
config SIFIVE_UART
bool
config GOLDFISH_TTY
bool