summaryrefslogtreecommitdiff
path: root/drivers/net/sh_eth.c
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2012-08-02 22:08:40 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-09-24 13:55:42 -0500
commitdcd5a593f59b58da4875e3e78d7c74501bc319c4 (patch)
tree9851143f217c1216ca9bba288731576c13730a5a /drivers/net/sh_eth.c
parent905b3b00a177a22944ee4b9e505e9395f23e58ed (diff)
downloadu-boot-imx-dcd5a593f59b58da4875e3e78d7c74501bc319c4.zip
u-boot-imx-dcd5a593f59b58da4875e3e78d7c74501bc319c4.tar.gz
u-boot-imx-dcd5a593f59b58da4875e3e78d7c74501bc319c4.tar.bz2
net: sh_eth: Add support R8A7740 of rmobile (arm core)
R8A7740 of rmobile has ethernet device, and this is same IP of sh-ether. This support R8A7740 of rmobile. Signed-off-by: Hideyuki Sano <hideyuki.sano.dn@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'drivers/net/sh_eth.c')
-rw-r--r--drivers/net/sh_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
index 09af860..2d9cc32 100644
--- a/drivers/net/sh_eth.c
+++ b/drivers/net/sh_eth.c
@@ -394,7 +394,7 @@ static int sh_eth_config(struct sh_eth_dev *eth, bd_t *bd)
sh_eth_write(eth, TPAUSER_TPAUSE, TPAUSER);
#endif
-#if defined(CONFIG_CPU_SH7734)
+#if defined(CONFIG_CPU_SH7734) || defined(CONFIG_R8A7740)
sh_eth_write(eth, CONFIG_SH_ETHER_SH7734_MII, RMII_MII);
#endif
/* Configure phy */