[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [PATCH v3 10/30] hw/arm: Express dependencies of the OMAP mac
From: |
Thomas Huth |
Subject: |
[Qemu-arm] [PATCH v3 10/30] hw/arm: Express dependencies of the OMAP machines with Kconfig |
Date: |
Sat, 23 Feb 2019 08:49:02 +0100 |
Add Kconfig dependencies for the OMAP machines (cheetah, n800, n810,
sx1 and sx1-v1).
This patch is slightly based on earlier work by Ákos Kovács (i.e.
his "hw/arm/Kconfig: Add ARM Kconfig" patch).
Signed-off-by: Thomas Huth <address@hidden>
---
default-configs/arm-softmmu.mak | 17 ++++-------------
hw/arm/Kconfig | 26 ++++++++++++++++++++++++++
hw/arm/Makefile.objs | 3 ++-
3 files changed, 32 insertions(+), 14 deletions(-)
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index c8eafb1..e0818f1 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -10,16 +10,16 @@ CONFIG_HIGHBANK=y
CONFIG_INTEGRATOR=y
CONFIG_FSL_IMX31=y
CONFIG_MUSICPAL=y
+CONFIG_MUSCA=y
+CONFIG_CHEETAH=y
+CONFIG_SX1=y
+CONFIG_NSERIES=y
CONFIG_VGA=y
CONFIG_NAND=y
CONFIG_ECC=y
CONFIG_SERIAL=y
CONFIG_MAX7310=y
-CONFIG_TWL92230=y
-CONFIG_TSC2005=y
-CONFIG_LM832X=y
-CONFIG_TMP105=y
CONFIG_TMP421=y
CONFIG_PCA9552=y
CONFIG_STELLARIS=y
@@ -37,9 +37,7 @@ CONFIG_ALLWINNER_EMAC=y
CONFIG_IMX_FEC=y
CONFIG_FTGMAC100=y
CONFIG_DS1338=y
-CONFIG_PFLASH_CFI01=y
CONFIG_MICRODRIVE=y
-CONFIG_USB_MUSB=y
CONFIG_PLATFORM_BUS=y
CONFIG_VIRTIO_MMIO=y
@@ -59,15 +57,8 @@ CONFIG_ZYNQ_DEVCFG=y
CONFIG_ARM11SCU=y
CONFIG_DIGIC=y
-CONFIG_OMAP=y
-CONFIG_TSC210X=y
-CONFIG_BLIZZARD=y
-CONFIG_ONENAND=y
-CONFIG_TUSB6010=y
CONFIG_MAINSTONE=y
CONFIG_MPS2=y
-CONFIG_MUSCA=y
-CONFIG_NSERIES=y
CONFIG_RASPI=y
CONFIG_REALVIEW=y
CONFIG_ZAURUS=y
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index ece2962..af559be 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -1,6 +1,11 @@
config ARM_VIRT
bool
+config CHEETAH
+ bool
+ select OMAP
+ select TSC210X
+
config DIGIC
bool
select PTIMER
@@ -64,9 +69,26 @@ config NETDUINO2
config NSERIES
bool
+ select OMAP
+ select TMP105 # tempature sensor
+ select BLIZZARD # LCD/TV controller
+ select ONENAND
+ select TSC210X # touchscreen/sensors/audio
+ select TSC2005 # touchscreen/sensors/keypad
+ select LM832X # GPIO keyboard chip
+ select TWL92230 # energy-management
+ select TUSB6010
config OMAP
bool
+ select FRAMEBUFFER
+ select I2C
+ select ECC
+ select NAND
+ select PFLASH_CFI01
+ select PCI
+ select SD
+ select SERIAL
config PXA2XX
bool
@@ -80,6 +102,10 @@ config STELLARIS
config STRONGARM
bool
+config SX1
+ bool
+ select OMAP
+
config VERSATILE
bool
diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs
index fa57c7c..8302b8d 100644
--- a/hw/arm/Makefile.objs
+++ b/hw/arm/Makefile.objs
@@ -9,7 +9,8 @@ obj-$(CONFIG_MAINSTONE) += mainstone.o
obj-$(CONFIG_MUSICPAL) += musicpal.o
obj-$(CONFIG_NETDUINO2) += netduino2.o
obj-$(CONFIG_NSERIES) += nseries.o
-obj-$(CONFIG_OMAP) += omap_sx1.o palm.o
+obj-$(CONFIG_SX1) += omap_sx1.o
+obj-$(CONFIG_CHEETAH) += palm.o
obj-$(CONFIG_PXA2XX) += gumstix.o spitz.o tosa.o z2.o
obj-$(CONFIG_REALVIEW) += realview.o
obj-$(CONFIG_STELLARIS) += stellaris.o
--
1.8.3.1
- [Qemu-arm] [PATCH v3 00/30] Kconfig dependencies for ARM machines, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 01/30] hw/arm/Kconfig: Add a config switch for MUSCA, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 05/30] hw/arm: Express dependencies of the exynos machines with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 04/30] hw/sd/sdhci: Move PCI-related code into a separate file, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 07/30] hw/arm: Express dependencies of integratorcp with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 08/30] hw/arm: Express dependencies of the fsl-imx31 machine with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 02/30] hw/pci/pci-stub: Add msi_enabled() and msi_notify() to the pci stubs, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 03/30] hw/ide/ahci: Add a Kconfig switch for the AHDI-ICH9 device, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 06/30] hw/arm: Express dependencies of the highbank machines with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 09/30] hw/arm: Express dependencies of musicpal with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 10/30] hw/arm: Express dependencies of the OMAP machines with Kconfig,
Thomas Huth <=
- [Qemu-arm] [PATCH v3 11/30] hw/arm: Express dependencies of stellaris with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 12/30] hw/arm: Express dependencies of realview, versatile and vexpress with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 15/30] hw/arm: Express dependencies of collie with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 16/30] hw/arm: Express dependencies of the aspeed boards with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 17/30] hw/arm: Express dependencies of the virt machine with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 18/30] hw/arm: Express dependencies of netduino / stm32f2xx with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 14/30] hw/arm: Express dependencies of xilinx-zynq with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 13/30] hw/arm: Express dependencies of the PXA2xx machines with Kconfig, Thomas Huth, 2019/02/23
- [Qemu-arm] [PATCH v3 20/30] hw/arm: Express dependencies of the MPS2 boards with Kconfig, Thomas Huth, 2019/02/23