net: gem: Preserve clk on emio interface
authorDavid Andrey <david.andrey@netmodule.com>
Fri, 5 Apr 2013 15:24:24 +0000 (17:24 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Apr 2013 09:39:24 +0000 (11:39 +0200)
commit01fbf31042e1eba1fcca3e84f70db7de0d176fe4
tree5cb69417f2c7f6e8fa3795df259e69d7310d3fcb
parent117cd4cc103443b442afc4d48c8d3920f6c171c0
net: gem: Preserve clk on emio interface

Avoid overwriting GEMx_RCLK_CTRL and GEMx_CLK_CTRL
if the Ethernet interface is connect on EMIO

Do not enable emio for this standard board configuration for now.

Signed-off-by: David Andrey <david.andrey@netmodule.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.com>
board/xilinx/zynq/board.c
drivers/net/zynq_gem.c
include/netdev.h