summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Munton <simon@nidoran.m5data.com>2009-02-02 09:44:08 +0000
committerBen Warren <biggerbadderben@gmail.com>2009-02-09 22:52:11 -0800
commit09fcc8b5d86903b76e7e4d1d879d6f4bca25c27b (patch)
tree835c49c73a8ecdab6fd9ead4792d1654f2efe639
parent2bc2a8f6dc9fdda465317da59474e65c24a398a2 (diff)
downloadu-boot-imx-09fcc8b5d86903b76e7e4d1d879d6f4bca25c27b.zip
u-boot-imx-09fcc8b5d86903b76e7e4d1d879d6f4bca25c27b.tar.gz
u-boot-imx-09fcc8b5d86903b76e7e4d1d879d6f4bca25c27b.tar.bz2
Fix 100Mbs ethernet operation on sh7763 based boards
100Mbs ethernet does not work on sh7763 chips due to the wrong value being used in the GECMR register. Following diff fixes the problem Signed-off-by: Simon Munton <simon@nidoran.m5data.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
-rw-r--r--drivers/net/sh_eth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sh_eth.h b/drivers/net/sh_eth.h
index a13fff0..e153849 100644
--- a/drivers/net/sh_eth.h
+++ b/drivers/net/sh_eth.h
@@ -168,7 +168,7 @@ enum DMAC_T_BIT {
/* GECMR */
enum GECMR_BIT {
- GECMR_1000B = 0x01, GECMR_100B = 0x40, GECMR_10B = 0x00,
+ GECMR_1000B = 0x01, GECMR_100B = 0x04, GECMR_10B = 0x00,
};
/* EDRRR*/