summaryrefslogtreecommitdiff
path: root/drivers/net/sh_eth.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-12-17 18:39:50 -0700
committerTom Rini <trini@ti.com>2012-12-17 18:39:50 -0700
commit095728803eedfce850a2f85828f79500cb09979e (patch)
treec226054297c0d3c82b112f1e45af121214b30a87 /drivers/net/sh_eth.h
parente80e588bb8db254fd939f83116ccf901bd233066 (diff)
parente3bb3254f8c055767edd1f02e642bec386540f4c (diff)
downloadu-boot-imx-095728803eedfce850a2f85828f79500cb09979e.zip
u-boot-imx-095728803eedfce850a2f85828f79500cb09979e.tar.gz
u-boot-imx-095728803eedfce850a2f85828f79500cb09979e.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/net/sh_eth.h')
-rw-r--r--drivers/net/sh_eth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sh_eth.h b/drivers/net/sh_eth.h
index 61d2df9..568fafe 100644
--- a/drivers/net/sh_eth.h
+++ b/drivers/net/sh_eth.h
@@ -288,7 +288,7 @@ static const u16 sh_eth_offset_fast_sh4[SH_ETH_MAX_REGISTER_OFFSET] = {
#if defined(CONFIG_CPU_SH7763) || defined(CONFIG_CPU_SH7734)
#define SH_ETH_TYPE_GETHER
#define BASE_IO_ADDR 0xfee00000
-#elif defined(CONFIG_CPU_SH7757)
+#elif defined(CONFIG_CPU_SH7757) || defined(CONFIG_CPU_SH7752)
#if defined(CONFIG_SH_ETHER_USE_GETHER)
#define SH_ETH_TYPE_GETHER
#define BASE_IO_ADDR 0xfee00000
@@ -346,7 +346,7 @@ enum DMAC_T_BIT {
/* GECMR */
enum GECMR_BIT {
-#if defined(CONFIG_CPU_SH7757)
+#if defined(CONFIG_CPU_SH7757) || defined(CONFIG_CPU_SH7752)
GECMR_1000B = 0x20, GECMR_100B = 0x01, GECMR_10B = 0x00,
#else
GECMR_1000B = 0x01, GECMR_100B = 0x04, GECMR_10B = 0x00,