This series converts cpu->midr (the MIDR register) to a property. This allows it to be set after init which is useful for specific boards (such as Zynq). The change has been done in such a way that it doesn't break compatibility with boards that don't need a custom MIDR.
V3: Removed the initialisation of the MIDR property from arm_cpu_post_init as it is no longer needed V2: Use dc->props to avoid using qdev_* Alistair Francis (2): ARM: Convert MIDR to a property ZYNQ: Implement board MIDR control for Zynq hw/arm/xilinx_zynq.c | 7 +++++++ target-arm/cpu.c | 1 + 2 files changed, 8 insertions(+), 0 deletions(-)