arm64: zynqmp: Modify chip_id routine to get either idcode or version
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Tue, 25 Jul 2017 06:21:36 +0000 (11:51 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 2 Aug 2017 07:11:52 +0000 (09:11 +0200)
commitdb3123b40d4e65e4badc71130b77af24189e607d
tree8641099424cfe1929aefe31e5c933d37558dd086
parentbe4634511a55c52a68131cf7114c97f5c2b608d6
arm64: zynqmp: Modify chip_id routine to get either idcode or version

This patch modifies the chip_id routine to get either idcode or
silicon version based on the argument received.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/include/asm/arch-zynqmp/sys_proto.h
board/xilinx/zynqmp/zynqmp.c