summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <[email protected]>2017-01-17 16:27:25 +0100
committerMichal Simek <[email protected]>2017-02-17 10:22:46 +0100
commiteff55c55c738c44c8ae61d9735626fe2cc2dab9f (patch)
treed7f0cb37b4ef02b7392f389dc974ebfac1309d61 /arch/arm/include
parenta259243e9d5895e03348cad98b82524e61cd47e8 (diff)
net: zynq: Add clk framework support to zynq ethernet driver
If available use the clock framework to set the tx clock rate of the zynq ethernet controller. Signed-off-by: Stefan Herbrechtsmeier <[email protected]> Reviewed-by: Joe Hershberger <[email protected]> Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-zynqmp/sys_proto.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-zynqmp/sys_proto.h b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
index 8c54fcedf40..7b11895481b 100644
--- a/arch/arm/include/asm/arch-zynqmp/sys_proto.h
+++ b/arch/arm/include/asm/arch-zynqmp/sys_proto.h
@@ -8,13 +8,6 @@
#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);
unsigned int zynqmp_get_silicon_version(void);