summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
diff options
context:
space:
mode:
authorSriram Dash <sriram.dash@nxp.com>2016-06-13 09:58:32 +0530
committerMarek Vasut <marex@denx.de>2016-06-13 15:16:38 +0200
commit6fb522dc774db981e1c8463e71898287e039c5f4 (patch)
treed30725d2b5185275d7851aab13126f598e8668e9 /arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h
parent1653cd18eee1555e1fd4a8c2fd88048d53bdc619 (diff)
downloadu-boot-imx-6fb522dc774db981e1c8463e71898287e039c5f4.zip
u-boot-imx-6fb522dc774db981e1c8463e71898287e039c5f4.tar.gz
u-boot-imx-6fb522dc774db981e1c8463e71898287e039c5f4.tar.bz2
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.h2
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 e98e055..8b8a7c1 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__*/