UPSTREAM: net: ethernet: arc: Add support emac for RK3036
authorXing Zheng <zhengxing@rock-chips.com>
Fri, 8 Jan 2016 01:35:02 +0000 (09:35 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Tue, 31 May 2016 08:43:11 +0000 (16:43 +0800)
commit2803e346a2f15144a63a44c61291304a60240aa9
treee8642dc3f3970306c77dccef069d3bde2196a400
parente7fe636b6fd01fa9e766efc64b20f2e681fb4a37
UPSTREAM: net: ethernet: arc: Add support emac for RK3036

The RK3036's GRFs offset are different with RK3066/RK3188, and need to set
mac TX/RX clock before probe emac.

Change-Id: Ie1dd5412c1858f7db007a06122f055790fa6fe2f
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
(cherry picked from git.kernel.org next/linux-next.git master
 commit af72261f33ee4958bb53e299746014f44e1134c4)
drivers/net/ethernet/arc/Kconfig
drivers/net/ethernet/arc/emac_rockchip.c