qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 17/25] hw/arm: Express dependencies of the raspi mac


From: Thomas Huth
Subject: [Qemu-devel] [PATCH 17/25] hw/arm: Express dependencies of the raspi machines with Kconfig
Date: Sat, 9 Feb 2019 07:39:18 +0100

Most of the code is directly controlled by the CONFIG_RASPI switch,
so not much to add here additionally.

Signed-off-by: Thomas Huth <address@hidden>
---
 default-configs/arm-softmmu.mak | 4 +---
 hw/arm/Kconfig                  | 4 ++++
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak
index b530a06..6605786 100644
--- a/default-configs/arm-softmmu.mak
+++ b/default-configs/arm-softmmu.mak
@@ -27,15 +27,13 @@ CONFIG_COLLIE=y
 CONFIG_ASPEED_SOC=y
 CONFIG_NETDUINO2=y
 CONFIG_MPS2=y
+CONFIG_RASPI=y
 
 CONFIG_VGA=y
 CONFIG_SSI_M25P80=y
 CONFIG_IMX_FEC=y
 
-CONFIG_FRAMEBUFFER=y
-
 CONFIG_DIGIC=y
-CONFIG_RASPI=y
 CONFIG_NRF51_SOC=y
 
 CONFIG_FSL_IMX6=y
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 5765fe9..6b1522f 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -270,6 +270,10 @@ config ALLWINNER_A10
 
 config RASPI
     bool
+    select FRAMEBUFFER
+    select PL011 # UART
+    select SDHCI
+    select PCI          # TODO: Currently required for SDHCI, remove this later
 
 config STM32F205_SOC
     bool
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]