summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>2016-11-15 16:15:42 +0530
committerMichal Simek <michal.simek@xilinx.com>2017-01-10 10:18:12 +0100
commita765bdd1cbf576b71502635cf1ebfb28fbad034e (patch)
tree54edeb751ebc417d883edaeb7781926613a2b54f /arch
parent128ec1fe6f5ee3a753326215732e6030e2c7c4d6 (diff)
downloadu-boot-imx-a765bdd1cbf576b71502635cf1ebfb28fbad034e.zip
u-boot-imx-a765bdd1cbf576b71502635cf1ebfb28fbad034e.tar.gz
u-boot-imx-a765bdd1cbf576b71502635cf1ebfb28fbad034e.tar.bz2
net: zynq_gem: Use clock driver for ZynqMP
Enable and use the clock driver routine defined in clock driver toset required clock appropriately. 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 1db2bd6..95fd91d 100644
--- a/arch/arm/include/asm/arch-zynqmp/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
@@ -8,10 +8,12 @@
#ifndef _ASM_ARCH_SYS_PROTO_H
#define _ASM_ARCH_SYS_PROTO_H
+#ifndef CONFIG_CLK_ZYNQMP
/* Setup clk for network */
static inline void zynq_slcr_gem_clk_setup(u32 gem_id, unsigned long clk_rate)
{
}
+#endif
int zynq_slcr_get_mio_pin_status(const char *periph);