ARM: Convert MIDR to a property
commit51a9b04bd3b01e11a1db4fc2ac2f1d324fbd30aa
authorAlistair Francis <alistair.francis@xilinx.com>
Fri, 31 Jan 2014 14:47:32 +0000 (31 14:47 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 31 Jan 2014 14:47:32 +0000 (31 14:47 +0000)
tree3a3a55f9c918e0be852070d032ace6f908e6b42d
parent83bfffec72ad447dfc80a4eab320403175ffe4e3
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: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 878613f2f12d4162f12629522fd99de8df904856.1390176489.git.alistair.francis@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.c