hw/sh4: Add missing Kconfig dependency on SH7750 for the R2D board
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:50:57 +0000 (19:50 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 6 Mar 2021 15:18:42 +0000 (16:18 +0100)
r2d_init() calls sh7750_init() so depends on SH7750.Harmless
at the moment because nothing actually uses CONFIG_SH7750
(hw/sh4/meson.build always compiles sh7750.c and sh7750_regnames.c
unconditionally).

Fixes: 7ab58d4c841 ("sh4-softmmu.mak: express dependencies with Kconfig")
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210222141514.2646278-3-f4bug@amsat.org>

hw/sh4/Kconfig

index 4cbce3a0ed5e9d4194e3e8421dc3af4097a3d79e..0452b4624ae6bbe04eed1dfdc358d20b04d78738 100644 (file)
@@ -10,6 +10,7 @@ config R2D
     select PCI
     select SM501
     select SH4
+    select SH7750
 
 config SHIX
     bool