[PATCH v4 07/12] target/arm: Restrict ARMv7 R-profile cpus to TCG accel

Philippe Mathieu-Daudé
2020-09-29T22:44:41Z

A KVM-only build won't be able to run R-profile cpus.

Only enable the following ARMv7 R-Profile CPUs when TCG is available:

- Cortex-R5
- Cortex-R5F

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
hw/arm/Kconfig | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index e01eb55bc0..7f19872722 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -10,6 +10,10 @@ config ARM_V6
bool
select TCG

+config ARM_V7R
+ bool
+ select TCG
+
config ARM_VIRT
bool
imply PCI_DEVICES
@@ -358,6 +362,7 @@ config XLNX_ZYNQMP_ARM
bool
select AHCI
select ARM_GIC
+ select ARM_V7R
select CADENCE
select DDC
select DPCD
--
2.26.2