hw/arm: Express dependencies of the raspi machines with Kconfig
authorThomas Huth <thuth@redhat.com>
Fri, 8 Feb 2019 09:22:54 +0000 (10:22 +0100)
committerThomas Huth <thuth@redhat.com>
Mon, 13 May 2019 07:36:31 +0000 (09:36 +0200)
Most of the code is directly controlled by the CONFIG_RASPI switch,
so not much to add here additionally.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
default-configs/arm-softmmu.mak
hw/arm/Kconfig

index 31d31d3f4a97299de81ab134e400ff8c7f9dd58a..22bff20b32b46a80e0008465bc9fbaee649de79f 100644 (file)
@@ -31,15 +31,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
index 55f7e5bfce32828979ccc49291a096c7282a4212..40be78303cefb9a2b21fd85c83e6cee8b99715f5 100644 (file)
@@ -258,6 +258,9 @@ config ALLWINNER_A10
 
 config RASPI
     bool
+    select FRAMEBUFFER
+    select PL011 # UART
+    select SDHCI
 
 config STM32F205_SOC
     bool