Skip to content

Commit

Permalink
hw/arm/virt: Restrict Cortex-A7 check to TCG
Browse files Browse the repository at this point in the history
The Cortex-A7 core is only available when TCG is enabled (see
commit 80485d8 "target/arm: Restrict v7A TCG cpus to TCG accel").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230405100848.76145-3-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
  • Loading branch information
philmd authored and pm215 committed Apr 20, 2023
1 parent 409504a commit 7a98c83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/arm/virt.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ static const int a15irqmap[] = {
};

static const char *valid_cpus[] = {
#ifdef CONFIG_TCG
ARM_CPU_TYPE_NAME("cortex-a7"),
#endif
ARM_CPU_TYPE_NAME("cortex-a15"),
ARM_CPU_TYPE_NAME("cortex-a35"),
ARM_CPU_TYPE_NAME("cortex-a53"),
Expand Down

0 comments on commit 7a98c83

Please sign in to comment.