Add the Cortex-A5 to the list of supported CPUs by the virt platform. Signed-off-by: Byron Lathi <bslath...@gmail.com> --- docs/system/arm/virt.rst | 1 + hw/arm/virt.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/docs/system/arm/virt.rst b/docs/system/arm/virt.rst index 850787495b..2384606ae7 100644 --- a/docs/system/arm/virt.rst +++ b/docs/system/arm/virt.rst @@ -50,6 +50,7 @@ The virt board supports: Supported guest CPU types: +- ``cortex-a5`` (32-bit) - ``cortex-a7`` (32-bit) - ``cortex-a15`` (32-bit; the default) - ``cortex-a53`` (64-bit) diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 6bce595aba..545bd2f958 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -195,6 +195,7 @@ static const int a15irqmap[] = { }; static const char *valid_cpus[] = { + ARM_CPU_TYPE_NAME("cortex-a5"), ARM_CPU_TYPE_NAME("cortex-a7"), ARM_CPU_TYPE_NAME("cortex-a15"), ARM_CPU_TYPE_NAME("cortex-a53"), -- 2.30.2