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