Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2…
Browse files Browse the repository at this point in the history
…019-08-20' into staging

- Improvements for the Kconfig switches and Makefiles

# gpg: Signature made Tue 20 Aug 2019 08:26:41 BST
# gpg:                using RSA key 27B88847EEE0250118F3EAB92ED9D774FE702DB5
# gpg:                issuer "thuth@redhat.com"
# gpg: Good signature from "Thomas Huth <th.huth@gmx.de>" [full]
# gpg:                 aka "Thomas Huth <thuth@redhat.com>" [full]
# gpg:                 aka "Thomas Huth <huth@tuxfamily.org>" [full]
# gpg:                 aka "Thomas Huth <th.huth@posteo.de>" [unknown]
# Primary key fingerprint: 27B8 8847 EEE0 2501 18F3  EAB9 2ED9 D774 FE70 2DB5

* remotes/huth-gitlab/tags/pull-request-2019-08-20:
  hw/core: Add a config switch for the generic loader device
  hw/misc: Add a config switch for the "unimplemented" device
  hw/core: Add a config switch for the "split-irq" device
  hw/core: Add a config switch for the "or-irq" device
  hw/core: Add a config switch for the "register" device
  hw/dma: Do not build the xlnx_dpdma device for the MicroBlaze machines
  hw/intc: Only build the xlnx-iomod-intc device for the MicroBlaze PMU
  hw/Kconfig: Move the generic XLNX_ZYNQMP to the root hw/Kconfig

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
pm215 committed Aug 20, 2019
2 parents bbd69d3 + f874d72 commit 17dc579
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 11 deletions.
4 changes: 4 additions & 0 deletions hw/Kconfig
Expand Up @@ -73,3 +73,7 @@ config XILINX
config XILINX_AXI
bool
select PTIMER # for hw/dma/xilinx_axidma.c

config XLNX_ZYNQMP
bool
select REGISTER
17 changes: 17 additions & 0 deletions hw/arm/Kconfig
Expand Up @@ -81,6 +81,8 @@ config MUSCA
select ARMSSE
select PL011
select PL031
select SPLIT_IRQ
select UNIMP

config MUSICPAL
bool
Expand Down Expand Up @@ -216,6 +218,7 @@ config STELLARIS
select SSI_SD
select STELLARIS_INPUT
select STELLARIS_ENET # ethernet
select UNIMP

config STRONGARM
bool
Expand Down Expand Up @@ -282,6 +285,7 @@ config ALLWINNER_A10
select ALLWINNER_A10_PIC
select ALLWINNER_EMAC
select SERIAL
select UNIMP

config RASPI
bool
Expand All @@ -292,6 +296,7 @@ config RASPI
config STM32F205_SOC
bool
select ARM_V7M
select OR_IRQ
select STM32F2XX_TIMER
select STM32F2XX_USART
select STM32F2XX_SYSCFG
Expand All @@ -318,6 +323,7 @@ config XLNX_VERSAL
select PL011
select CADENCE
select VIRTIO_MMIO
select UNIMP

config FSL_IMX25
bool
Expand Down Expand Up @@ -353,15 +359,19 @@ config ASPEED_SOC
select SSI_M25P80
select TMP105
select TMP421
select UNIMP

config MPS2
bool
select ARMSSE
select LAN9118
select MPS2_FPGAIO
select MPS2_SCC
select OR_IRQ
select PL022 # Serial port
select PL080 # DMA controller
select SPLIT_IRQ
select UNIMP

config FSL_IMX7
bool
Expand All @@ -374,6 +384,7 @@ config FSL_IMX7
select IMX_I2C
select PCI_EXPRESS_DESIGNWARE
select SDHCI
select UNIMP

config ARM_SMMUV3
bool
Expand All @@ -385,6 +396,7 @@ config FSL_IMX6UL
select IMX_FEC
select IMX_I2C
select SDHCI
select UNIMP

config MICROBIT
bool
Expand All @@ -394,6 +406,7 @@ config NRF51_SOC
bool
select I2C
select ARM_V7M
select UNIMP

config EMCRAFT_SF2
bool
Expand All @@ -406,6 +419,7 @@ config MSF2
select PTIMER
select SERIAL
select SSI
select UNIMP

config ZAURUS
bool
Expand Down Expand Up @@ -439,9 +453,12 @@ config ARMSSE
select IOTKIT_SECCTL
select IOTKIT_SYSCTL
select IOTKIT_SYSINFO
select OR_IRQ
select SPLIT_IRQ
select TZ_MPC
select TZ_MSC
select TZ_PPC
select UNIMP

config ARMSSE_CPUID
bool
Expand Down
13 changes: 13 additions & 0 deletions hw/core/Kconfig
Expand Up @@ -7,5 +7,18 @@ config PTIMER
config FITLOADER
bool

config GENERIC_LOADER
bool
default y

config OR_IRQ
bool

config PLATFORM_BUS
bool

config REGISTER
bool

config SPLIT_IRQ
bool
8 changes: 4 additions & 4 deletions hw/core/Makefile.objs
Expand Up @@ -17,11 +17,11 @@ common-obj-$(CONFIG_SOFTMMU) += machine.o
common-obj-$(CONFIG_SOFTMMU) += loader.o
common-obj-$(CONFIG_FITLOADER) += loader-fit.o
common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
common-obj-$(CONFIG_SOFTMMU) += register.o
common-obj-$(CONFIG_SOFTMMU) += or-irq.o
common-obj-$(CONFIG_SOFTMMU) += split-irq.o
common-obj-$(CONFIG_REGISTER) += register.o
common-obj-$(CONFIG_OR_IRQ) += or-irq.o
common-obj-$(CONFIG_SPLIT_IRQ) += split-irq.o
common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
common-obj-$(CONFIG_SOFTMMU) += generic-loader.o
common-obj-$(CONFIG_GENERIC_LOADER) += generic-loader.o
common-obj-$(CONFIG_SOFTMMU) += null-machine.o

obj-$(CONFIG_SOFTMMU) += machine-qmp-cmds.o
Expand Down
1 change: 1 addition & 0 deletions hw/dma/Kconfig
Expand Up @@ -16,6 +16,7 @@ config I8257

config ZYNQ_DEVCFG
bool
select REGISTER

config STP2000
bool
1 change: 0 additions & 1 deletion hw/dma/Makefile.objs
Expand Up @@ -8,7 +8,6 @@ common-obj-$(CONFIG_XILINX_AXI) += xilinx_axidma.o
common-obj-$(CONFIG_ZYNQ_DEVCFG) += xlnx-zynq-devcfg.o
common-obj-$(CONFIG_ETRAXFS) += etraxfs_dma.o
common-obj-$(CONFIG_STP2000) += sparc32_dma.o
obj-$(CONFIG_XLNX_ZYNQMP) += xlnx_dpdma.o
obj-$(CONFIG_XLNX_ZYNQMP_ARM) += xlnx_dpdma.o
common-obj-$(CONFIG_XLNX_ZYNQMP_ARM) += xlnx-zdma.o

Expand Down
2 changes: 1 addition & 1 deletion hw/intc/Makefile.objs
Expand Up @@ -3,7 +3,7 @@ common-obj-$(CONFIG_I8259) += i8259_common.o i8259.o
common-obj-$(CONFIG_PL190) += pl190.o
common-obj-$(CONFIG_PUV3) += puv3_intc.o
common-obj-$(CONFIG_XILINX) += xilinx_intc.o
common-obj-$(CONFIG_XLNX_ZYNQMP) += xlnx-pmu-iomod-intc.o
common-obj-$(CONFIG_XLNX_ZYNQMP_PMU) += xlnx-pmu-iomod-intc.o
common-obj-$(CONFIG_XLNX_ZYNQMP) += xlnx-zynqmp-ipi.o
common-obj-$(CONFIG_ETRAXFS) += etraxfs_pic.o
common-obj-$(CONFIG_IMX) += imx_avic.o imx_gpcv2.o
Expand Down
1 change: 1 addition & 0 deletions hw/microblaze/Kconfig
Expand Up @@ -4,6 +4,7 @@ config PETALOGIX_S3ADSP1800
select XILINX
select XILINX_AXI
select XILINX_ETHLITE
select UNIMP

config PETALOGIX_ML605
bool
Expand Down
3 changes: 3 additions & 0 deletions hw/misc/Kconfig
Expand Up @@ -117,4 +117,7 @@ config AUX
bool
select I2C

config UNIMP
bool

source macio/Kconfig
2 changes: 1 addition & 1 deletion hw/misc/Makefile.objs
Expand Up @@ -9,7 +9,7 @@ common-obj-$(CONFIG_PCI_TESTDEV) += pci-testdev.o
common-obj-$(CONFIG_EDU) += edu.o
common-obj-$(CONFIG_PCA9552) += pca9552.o

common-obj-y += unimp.o
common-obj-$(CONFIG_UNIMP) += unimp.o
common-obj-$(CONFIG_FW_CFG_DMA) += vmcoreinfo.o

# ARM devices
Expand Down
3 changes: 2 additions & 1 deletion hw/pci-host/Kconfig
Expand Up @@ -2,8 +2,9 @@ config PAM
bool

config PREP_PCI
select PCI
bool
select PCI
select OR_IRQ

config GRACKLE_PCI
select PCI
Expand Down
1 change: 1 addition & 0 deletions hw/sparc64/Kconfig
Expand Up @@ -17,3 +17,4 @@ config NIAGARA
bool
select EMPTY_SLOT
select SUN4V_RTC
select UNIMP
3 changes: 0 additions & 3 deletions hw/timer/Kconfig
Expand Up @@ -34,9 +34,6 @@ config TWL92230
bool
depends on I2C

config XLNX_ZYNQMP
bool

config ALTERA_TIMER
bool
select PTIMER
Expand Down

0 comments on commit 17dc579

Please sign in to comment.