arch-arm: default MIDR for Armv8 ISA processors
authorAdrian Herrera <adrian.herrera@arm.com>
Wed, 16 Oct 2019 09:04:01 +0000 (10:04 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 25 Nov 2019 22:29:52 +0000 (22:29 +0000)
commit8e8214da55dc807375662dd3044ffb2ec0a2feed
tree4f474f06da3a58ba4c73a41045147f66ef35cf73
parent0793149cbbf796649bd87f95e52edcaa02b29916
arch-arm: default MIDR for Armv8 ISA processors

Software such as Trusted Firmware-A checks the MIDR register
to identify which core model is present in the platform.
The previous default value referred to a Cortex-A15 Armv7-A
processor, however when AArch64 is enabled, an Armv8 processor
is expected.
This patch assigns the Cortex-A57 MIDR if AArch64 is enabled.

Change-Id: Id1677a77d2f04843423f7b013405445f3d253399
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22846
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/ArmISA.py
src/arch/arm/isa.cc