arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper
authorSriram Dash <sriram.dash@nxp.com>
Mon, 13 Jun 2016 04:28:32 +0000 (09:58 +0530)
committerMarek Vasut <marex@denx.de>
Mon, 13 Jun 2016 13:16:38 +0000 (15:16 +0200)
commit6fb522dc774db981e1c8463e71898287e039c5f4
treed30725d2b5185275d7851aab13126f598e8668e9
parent1653cd18eee1555e1fd4a8c2fd88048d53bdc619
arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

Adds get_svr and IS_SVR_REV helpers for ARMv8 platforms,
similar to PPC and ARMv7.

Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
arch/arm/include/asm/arch-fsl-layerscape/immap_lsch3.h
arch/arm/include/asm/arch-fsl-layerscape/soc.h