arm64: add midr_el1 accessor function

Hardware / Coreboot - Aaron Durbin [chromium.org] - 27 March 2015 02:04 UTC

Provide access to the MIDR_EL1 register to obtain the main id for determining CPU implementer and part/revision information.

BUG=chrome-os-partner:31761 BRANCH=None TEST=Built and printed the output of this function on ryu.

Change-Id: I42cec75072fc5e8b48f63c1971840fdc415e4326

c913a9c arm64: add midr_el1 accessor function
src/arch/arm64/armv8/lib/sysctrl.c | 10 ++++++++++
src/arch/arm64/include/armv8/arch/lib_helpers.h | 1 +
2 files changed, 11 insertions(+)

Upstream: review.coreboot.org


  • Share