net: zynq_gem: Calculate clock dividers dynamically
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Thu, 21 Nov 2013 21:39:01 +0000 (13:39 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 Feb 2014 08:41:21 +0000 (09:41 +0100)
commit97598fcf10eba577622f3387eaecd43dd710da0d
tree68f59303d1d8f6ca2d941f8365fa00868091603e
parent1cd46ed2d30a931a66400635f158b14861f2d3b4
net: zynq_gem: Calculate clock dividers dynamically

Remove hard coded clock divider setting and use the Zynq clock framework
to dynamically calculate appropriate dividers at run time.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/slcr.c
arch/arm/include/asm/arch-zynq/sys_proto.h
drivers/net/zynq_gem.c