hw/arm/cubieboard: restrict allowed CPU type to ARM Cortex-A8
commit17c7576263339f20d77964083704f3da4e4b8c91
authorNiek Linnenbank <nieklinnenbank@gmail.com>
Thu, 5 Mar 2020 16:09:19 +0000 (5 16:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Mar 2020 16:09:19 +0000 (5 16:09 +0000)
tree2b90a5ce88bb7794ef102b32b7bd38c4f497a07d
parent2104df2a1fbf44b2564427aa72fd58d66ce290a7
hw/arm/cubieboard: restrict allowed CPU type to ARM Cortex-A8

The Cubieboard has an ARM Cortex-A8.  Instead of simply ignoring a
bogus -cpu option provided by the user, give them an error message so
they know their command line is wrong.

Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Message-id: 20200227220149.6845-3-nieklinnenbank@gmail.com
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: tweaked commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/cubieboard.c