diff options
author | Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> | 2017-07-25 06:21:38 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2017-08-02 07:11:52 (GMT) |
commit | f52bf5a3dd6e474032a18185e0f855e5a3b78dfc (patch) | |
tree | 0bf6d9e4ccb407f06d3b438b0c22c195d109e2d4 /board/xilinx/zynqmp | |
parent | db3123b40d4e65e4badc71130b77af24189e607d (diff) | |
download | u-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 'board/xilinx/zynqmp')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 5958350..ae69615 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -76,7 +76,7 @@ static const struct { }, }; -static int chip_id(unsigned char id) +int chip_id(unsigned char id) { struct pt_regs regs; regs.regs[0] = ZYNQMP_SIP_SVC_CSU_DMA_CHIPID; |