mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 07:02:03 -06:00
hw/ipack: Clarify KConfig symbols
Split IPACK Kconfig key as {IPACK, TPCI200, IP_OCTAL_232} - IPack is a bus - TPCI200 is a PCI device providing an IPack bus - IP-Octal232 is an IPack device plugged on an IPack bus Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Fabiano Rosas <farosas@suse.de> Message-Id: <20250121155526.29982-3-philmd@linaro.org>
This commit is contained in:
parent
c17943b00f
commit
29df910401
6 changed files with 18 additions and 4 deletions
|
@ -78,3 +78,8 @@ config GOLDFISH_TTY
|
||||||
|
|
||||||
config SHAKTI_UART
|
config SHAKTI_UART
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config IP_OCTAL_232
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
depends on IPACK
|
||||||
|
|
|
@ -4,7 +4,7 @@ system_ss.add(when: 'CONFIG_ESCC', if_true: files('escc.c'))
|
||||||
system_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_apbuart.c'))
|
system_ss.add(when: 'CONFIG_GRLIB', if_true: files('grlib_apbuart.c'))
|
||||||
system_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_uart.c'))
|
system_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_uart.c'))
|
||||||
system_ss.add(when: 'CONFIG_IMX', if_true: files('imx_serial.c'))
|
system_ss.add(when: 'CONFIG_IMX', if_true: files('imx_serial.c'))
|
||||||
system_ss.add(when: 'CONFIG_IPACK', if_true: files('ipoctal232.c'))
|
system_ss.add(when: 'CONFIG_IP_OCTAL_232', if_true: files('ipoctal232.c'))
|
||||||
system_ss.add(when: 'CONFIG_ISA_BUS', if_true: files('parallel-isa.c'))
|
system_ss.add(when: 'CONFIG_ISA_BUS', if_true: files('parallel-isa.c'))
|
||||||
system_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugcon.c'))
|
system_ss.add(when: 'CONFIG_ISA_DEBUG', if_true: files('debugcon.c'))
|
||||||
system_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_uart.c'))
|
system_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_uart.c'))
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
config IPACK
|
config IPACK
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config TPCI200
|
||||||
|
bool
|
||||||
|
select IPACK
|
||||||
default y if PCI_DEVICES
|
default y if PCI_DEVICES
|
||||||
depends on PCI
|
depends on PCI
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
system_ss.add(when: 'CONFIG_IPACK', if_true: files('ipack.c', 'tpci200.c'))
|
system_ss.add(when: 'CONFIG_IPACK', if_true: files('ipack.c'))
|
||||||
|
system_ss.add(when: 'CONFIG_TPCI200', if_true: files('tpci200.c'))
|
||||||
|
|
|
@ -32,7 +32,6 @@ libqos_srcs = files(
|
||||||
'i2c-omap.c',
|
'i2c-omap.c',
|
||||||
'igb.c',
|
'igb.c',
|
||||||
'sdhci.c',
|
'sdhci.c',
|
||||||
'tpci200.c',
|
|
||||||
'virtio.c',
|
'virtio.c',
|
||||||
'virtio-balloon.c',
|
'virtio-balloon.c',
|
||||||
'virtio-blk.c',
|
'virtio-blk.c',
|
||||||
|
@ -70,6 +69,9 @@ endif
|
||||||
if config_all_devices.has_key('CONFIG_RISCV_IOMMU')
|
if config_all_devices.has_key('CONFIG_RISCV_IOMMU')
|
||||||
libqos_srcs += files('riscv-iommu.c')
|
libqos_srcs += files('riscv-iommu.c')
|
||||||
endif
|
endif
|
||||||
|
if config_all_devices.has_key('CONFIG_TPCI200')
|
||||||
|
libqos_srcs += files('tpci200.c')
|
||||||
|
endif
|
||||||
|
|
||||||
libqos = static_library('qos', libqos_srcs + genh,
|
libqos = static_library('qos', libqos_srcs + genh,
|
||||||
build_by_default: false)
|
build_by_default: false)
|
||||||
|
|
|
@ -286,7 +286,6 @@ qos_test_ss.add(
|
||||||
'e1000-test.c',
|
'e1000-test.c',
|
||||||
'eepro100-test.c',
|
'eepro100-test.c',
|
||||||
'es1370-test.c',
|
'es1370-test.c',
|
||||||
'ipoctal232-test.c',
|
|
||||||
'lsm303dlhc-mag-test.c',
|
'lsm303dlhc-mag-test.c',
|
||||||
'isl_pmbus_vr-test.c',
|
'isl_pmbus_vr-test.c',
|
||||||
'max34451-test.c',
|
'max34451-test.c',
|
||||||
|
@ -317,6 +316,9 @@ qos_test_ss.add(
|
||||||
if config_all_devices.has_key('CONFIG_VIRTIO_SERIAL')
|
if config_all_devices.has_key('CONFIG_VIRTIO_SERIAL')
|
||||||
qos_test_ss.add(files('virtio-serial-test.c'))
|
qos_test_ss.add(files('virtio-serial-test.c'))
|
||||||
endif
|
endif
|
||||||
|
if config_all_devices.has_key('CONFIG_IP_OCTAL_232')
|
||||||
|
qos_test_ss.add(files('ipoctal232-test.c'))
|
||||||
|
endif
|
||||||
|
|
||||||
if host_os != 'windows'
|
if host_os != 'windows'
|
||||||
qos_test_ss.add(files('e1000e-test.c'))
|
qos_test_ss.add(files('e1000e-test.c'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue