armv8: Add read_mpidr() function
authorSergey Temerkhanov <s.temerkhanov@gmail.com>
Wed, 14 Oct 2015 16:55:44 +0000 (09:55 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2016 22:25:35 +0000 (22:25 +0000)
commitba5648cd91b010a9288798472a6d51b137fff89d
treefb1390a6333660a17f6d3bc0c448a8a7636986d1
parent19de81502be9e4dd1132b4b9641f66a587b8b0e2
armv8: Add read_mpidr() function

This patch adds the read_mpidr() function which returns the
MPIDR_EL1 register value

Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com>
Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/system.h