[PATCH 66/67] sh4/kconfig: make R2D depend on SH4 & PIXMAN

marcandre.lureau@redhat.com posted 67 patches 2 years, 5 months ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Dr. David Alan Gilbert" <dave@treblig.org>, Peter Maydell <peter.maydell@linaro.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, "Daniel P. Berrangé" <berrange@redhat.com>, Thomas Huth <thuth@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Akihiko Odaki <akihiko.odaki@daynix.com>
[PATCH 66/67] sh4/kconfig: make R2D depend on SH4 & PIXMAN
Posted by marcandre.lureau@redhat.com 2 years, 5 months ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

SM501 is going to depend on PIXMAN next.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 configs/devices/sh4-softmmu/default.mak | 2 +-
 hw/sh4/Kconfig                          | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/configs/devices/sh4-softmmu/default.mak b/configs/devices/sh4-softmmu/default.mak
index 565e8b0b5d..5a78b83044 100644
--- a/configs/devices/sh4-softmmu/default.mak
+++ b/configs/devices/sh4-softmmu/default.mak
@@ -7,5 +7,5 @@
 
 # Boards:
 #
-CONFIG_R2D=y
+#CONFIG_R2D=n
 CONFIG_SHIX=y
diff --git a/hw/sh4/Kconfig b/hw/sh4/Kconfig
index ab733a3f76..aa2dff348d 100644
--- a/hw/sh4/Kconfig
+++ b/hw/sh4/Kconfig
@@ -1,5 +1,7 @@
 config R2D
     bool
+    default y
+    depends on SH4 && PIXMAN
     imply PCI_DEVICES
     imply TEST_DEVICES
     imply RTL8139_PCI
-- 
2.41.0