summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-01-11 15:15:14 +0100
committerWolfgang Denk <wd@denx.de>2008-01-12 00:41:22 +0100
commit6341d9d723b71b4c0bf86f979e4cb228c02fd09d (patch)
tree3d1d133c5a4c923adaa63c9f6a9005ccd77be30e /cpu/mpc5xxx
parent3bb77fb09a1caabf5a292cc5b486a78b977fbe19 (diff)
downloadu-boot-6341d9d723b71b4c0bf86f979e4cb228c02fd09d.tar.gz
u-boot-6341d9d723b71b4c0bf86f979e4cb228c02fd09d.tar.bz2
u-boot-6341d9d723b71b4c0bf86f979e4cb228c02fd09d.zip
added basic support for the MUNICes board.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cpu/mpc5xxx')
-rw-r--r--cpu/mpc5xxx/fec.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpu/mpc5xxx/fec.c b/cpu/mpc5xxx/fec.c
index 1d3da779a7..2aded1a5f1 100644
--- a/cpu/mpc5xxx/fec.c
+++ b/cpu/mpc5xxx/fec.c
@@ -288,13 +288,13 @@ static int mpc5xxx_fec_init(struct eth_device *dev, bd_t * bis)
* Set MII_SPEED = (1/(mii_speed * 2)) * System Clock
* and do not drop the Preamble.
*/
- fec->eth->mii_speed = (((gd->ipb_clk >> 20) / 5) << 1); /* No MII for 7-wire mode */
+ fec->eth->mii_speed = (((gd->ipb_clk >> 20) / 5) << 1); /* No MII for 7-wire mode */
}
/*
* Set Opcode/Pause Duration Register
*/
- fec->eth->op_pause = 0x00010020; /*FIXME0xffff0020; */
+ fec->eth->op_pause = 0x00010020; /*FIXME 0xffff0020; */
/*
* Set Rx FIFO alarm and granularity value
@@ -902,7 +902,8 @@ int mpc5xxx_fec_initialize(bd_t * bis)
defined(CONFIG_TOP5200) || \
defined(CONFIG_TQM5200) || \
defined(CONFIG_UC101) || \
- defined(CONFIG_V38B)
+ defined(CONFIG_V38B) || \
+ defined(CONFIG_MUNICES)
# ifndef CONFIG_FEC_10MBIT
fec->xcv_type = MII100;
# else