target-arm: Clean up handling of MPIDR
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 3 Feb 2011 19:43:23 +0000 (19:43 +0000)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 4 Feb 2011 20:30:15 +0000 (21:30 +0100)
commit21166b4ea17510732e367beccb0b3eb92f7267c2
treeb9ada0a4a8d14cbed7e3639e5abac337bb188d66
parent9ed58a655e5605953efd85fe3f680b6934835422
target-arm: Clean up handling of MPIDR

The ARM cp15 register 0,c0,c0,5 is standardised in the v7 architecture
as the MPIDR. Clean up its implementation to remove A9 specific handling.

This commit includes fixing an error in the value returned for the
MPIDR on A9, where we were erroneously claiming a cluster ID of 9.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/helper.c