Commit 51a9b04b authored by Alistair Francis's avatar Alistair Francis Committed by Peter Maydell

ARM: Convert MIDR to a property

Convert the MIDR register to a property. This allows boards to later set
a custom MIDR value. This has been done in such a way to maintain
compatibility with all existing CPUs and boards
Signed-off-by: default avatarAlistair Francis <>
Reviewed-by: default avatarPeter Crosthwaite <>
Signed-off-by: default avatarPeter Maydell <>
parent 83bfffec
......@@ -982,6 +982,7 @@ static const ARMCPUInfo arm_cpus[] = {
static Property arm_cpu_properties[] = {
DEFINE_PROP_BOOL("start-powered-off", ARMCPU, start_powered_off, false),
DEFINE_PROP_UINT32("midr", ARMCPU, midr, 0),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment