target-arm: Break out mpidr_read_val()
commit06a7e6477c129ceaa72bd400cf281d44c456be43
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Mon, 14 Sep 2015 13:39:51 +0000 (14 14:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 14 Sep 2015 13:39:51 +0000 (14 14:39 +0100)
tree1b984c0875fa279f51282938196aae68978f1832
parent731de9e60074620aa7d565f01f989adacd493514
target-arm: Break out mpidr_read_val()

Break out mpidr_read_val() to allow future sharing of the
code that conditionally sets the M and U bits of MPIDR.

No functional changes.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1442135278-25281-8-git-send-email-edgar.iglesias@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c