diff options
author | Sriram Dash <sriram.dash@nxp.com> | 2016-06-13 09:58:32 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-06-13 15:16:38 +0200 |
commit | 6fb522dc774db981e1c8463e71898287e039c5f4 (patch) | |
tree | d30725d2b5185275d7851aab13126f598e8668e9 /arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | |
parent | 1653cd18eee1555e1fd4a8c2fd88048d53bdc619 (diff) |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h')
-rw-r--r-- | arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h index e98e055d9f..8b8a7c15bd 100644 --- a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h +++ b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h @@ -596,4 +596,6 @@ struct ccsr_cci400 { #define SCR0_CLIENTPD_MASK 0x00000001 #define SCR0_USFCFG_MASK 0x00000400 +uint get_svr(void); + #endif /* __ARCH_FSL_LSCH2_IMMAP_H__*/ |