hw/cpu/a9mpcore: Verify the machine use Cortex-A9 cores
commit8cbd4616226aaf0f64599c64162062f0ecc0fe9b
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 9 Jul 2020 15:23:37 +0000 (9 17:23 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Aug 2020 09:01:40 +0000 (24 10:01 +0100)
tree502457ec1d2b1dd622670ef41db573eb11ddeca4
parent8367a77c4d3f6e1e60890f5510304feb2c621611
hw/cpu/a9mpcore: Verify the machine use Cortex-A9 cores

The 'Cortex-A9MPCore internal peripheral' block can only be
used with Cortex A5 and A9 cores. As we don't model the A5
yet, simply check the machine cpu core is a Cortex A9. If
not return an error.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200709152337.15533-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/cpu/a9mpcore.c