summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2017-07-25 06:21:38 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2017-08-02 07:11:52 (GMT)
commitf52bf5a3dd6e474032a18185e0f855e5a3b78dfc (patch)
tree0bf6d9e4ccb407f06d3b438b0c22c195d109e2d4 /arch
parentdb3123b40d4e65e4badc71130b77af24189e607d (diff)
downloadu-boot-fsl-qoriq-f52bf5a3dd6e474032a18185e0f855e5a3b78dfc.tar.xz
arm64: zynqmp: Make chip_id a global routine()
This patch makes chip_id() as a global routine so that it can be used in other places as required. Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-zynqmp/sys_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/sys_proto.h b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
index cef4bd6..e52abd7 100644
--- a/arch/arm/include/asm/arch-zynqmp/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
@@ -45,4 +45,6 @@ int invoke_smc(u32 pm_api_id, u32 arg0, u32 arg1, u32 arg2, u32 arg3,
void initialize_tcm(bool mode);
+int chip_id(unsigned char id);
+
#endif /* _ASM_ARCH_SYS_PROTO_H */