[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 04/12] hw/mips: Express dependencies of the Jazz mach
From: |
Aleksandar Markovic |
Subject: |
[Qemu-devel] [PULL 04/12] hw/mips: Express dependencies of the Jazz machine with Kconfig |
Date: |
Tue, 2 Jul 2019 18:35:20 +0200 |
From: Philippe Mathieu-Daudé <address@hidden>
The Jazz use the RC4030 Asic to provide an EISA bus and DMA/IRQ.
The framebuffer display is managed by a G364, the network card is
a Sonic DP83932. A QLogic ESP216 provides a SCSI bus.
None, for the both machine variants (PICA-61 and Magnum 4000),
the DP83932 chipset is soldered on the board, and is MMIO-mapped
(selected via Chip Select). Therefore we have to enforce the
'select' Kconfig rule (we can not use the 'imply' rule helpful
when devices are connected on a bus).
Reviewed-by: Aleksandar Markovic <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Aleksandar Markovic <address@hidden>
Message-Id: <address@hidden>
---
default-configs/mips-softmmu-common.mak | 1 -
default-configs/mips64-softmmu.mak | 5 -----
default-configs/mips64el-softmmu.mak | 5 -----
hw/mips/Kconfig | 17 +++++++++++++++++
4 files changed, 17 insertions(+), 11 deletions(-)
diff --git a/default-configs/mips-softmmu-common.mak
b/default-configs/mips-softmmu-common.mak
index 63ed293..d545987 100644
--- a/default-configs/mips-softmmu-common.mak
+++ b/default-configs/mips-softmmu-common.mak
@@ -6,7 +6,6 @@ CONFIG_SEMIHOSTING=y
CONFIG_ISA_BUS=y
CONFIG_PCI=y
CONFIG_PCI_DEVICES=y
-CONFIG_ESP=y
CONFIG_VGA_ISA=y
CONFIG_VGA_ISA_MM=y
CONFIG_VGA_CIRRUS=y
diff --git a/default-configs/mips64-softmmu.mak
b/default-configs/mips64-softmmu.mak
index bad7496..a169738 100644
--- a/default-configs/mips64-softmmu.mak
+++ b/default-configs/mips64-softmmu.mak
@@ -1,9 +1,4 @@
# Default configuration for mips64-softmmu
include mips-softmmu-common.mak
-CONFIG_RC4030=y
-CONFIG_DP8393X=y
-CONFIG_DS1225Y=y
CONFIG_JAZZ=y
-CONFIG_G364FB=y
-CONFIG_JAZZ_LED=y
diff --git a/default-configs/mips64el-softmmu.mak
b/default-configs/mips64el-softmmu.mak
index a67c951..8b0c9b1 100644
--- a/default-configs/mips64el-softmmu.mak
+++ b/default-configs/mips64el-softmmu.mak
@@ -2,15 +2,10 @@
include mips-softmmu-common.mak
CONFIG_IDE_VIA=y
-CONFIG_RC4030=y
-CONFIG_DP8393X=y
-CONFIG_DS1225Y=y
CONFIG_FULONG=y
CONFIG_ATI_VGA=y
CONFIG_RTL8139_PCI=y
CONFIG_JAZZ=y
-CONFIG_G364FB=y
-CONFIG_JAZZ_LED=y
CONFIG_VT82C686=y
CONFIG_AHCI=y
CONFIG_MIPS_BOSTON=y
diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig
index 3433e97..ab00647 100644
--- a/hw/mips/Kconfig
+++ b/hw/mips/Kconfig
@@ -12,6 +12,23 @@ config MIPSSIM
config JAZZ
bool
+ select ISA_BUS
+ select RC4030
+ select I8259
+ select I8254
+ select I8257
+ select PCSPK
+ select VGA_ISA_MM
+ select G364FB
+ select DP8393X
+ select ESP
+ select FDC
+ select MC146818RTC
+ select PCKBD
+ select SERIAL
+ select PARALLEL
+ select DS1225Y
+ select JAZZ_LED
config FULONG
bool
--
2.7.4
- [Qemu-devel] [PULL 00/12] MIPS queue for July 2nd, 2019, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 03/12] hw/mips: Express dependencies of the MIPSsim machine with Kconfig, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 04/12] hw/mips: Express dependencies of the Jazz machine with Kconfig,
Aleksandar Markovic <=
- [Qemu-devel] [PULL 02/12] hw/mips: Explicit the semi-hosting feature is always required, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 10/12] target/mips: Correct comments in msa_helper.c, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 01/12] tests/machine-none: Test recent MIPS cpus, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 05/12] hw/mips: Express dependencies of the r4k platform with Kconfig, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 12/12] target/mips: Correct helper for MSA FCLASS.<W|D> instructions, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 11/12] target/mips: Unroll loops for MSA float max/min instructions, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 08/12] tcg/tests: target/mips: Correct MSA test compilation and execution order, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 09/12] target/mips: Correct comments in translate.c, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 07/12] tcg/tests: target/mips: Amend MSA integer multiply tests, Aleksandar Markovic, 2019/07/02
- [Qemu-devel] [PULL 06/12] tcg/tests: target/mips: Amend MSA fixed point multiply tests, Aleksandar Markovic, 2019/07/02