summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@pollux.denx.de>2007-04-14 05:26:48 +0200
committerHeiko Schocher <hs@pollux.denx.de>2007-04-14 05:26:48 +0200
commit37403005cfe6bb13964d450f6a48a0b0f2f7017e (patch)
tree5b22adc50d6549b7dea6d60efa25d3e16d6a6c79
parent6c9ba919375db977aaad9146bf320c7afd07ae7a (diff)
[Fix] Set the LED status register on the UC101 for the LXT971 PHY.
clear the Display after reset. Signed-off-by: Heiko Schocher <hs@denx.de>
-rw-r--r--board/uc101/uc101.c2
-rw-r--r--cpu/mpc5xxx/fec.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/board/uc101/uc101.c b/board/uc101/uc101.c
index 7a6b3be72..f72651396 100644
--- a/board/uc101/uc101.c
+++ b/board/uc101/uc101.c
@@ -221,6 +221,8 @@ long int initdram (int board_type)
int checkboard (void)
{
puts ("Board: MAN UC101\n");
+ /* clear the Display */
+ *(char *)(CFG_DISP_CWORD) = 0x80;
return 0;
}
diff --git a/cpu/mpc5xxx/fec.c b/cpu/mpc5xxx/fec.c
index 13a3870f3..e59bd85e1 100644
--- a/cpu/mpc5xxx/fec.c
+++ b/cpu/mpc5xxx/fec.c
@@ -467,6 +467,10 @@ static int mpc5xxx_fec_init_phy(struct eth_device *dev, bd_t * bis)
miiphy_write(dev->name, phyAddr, 0x0, 0x8000);
udelay(1000);
+#if defined(CONFIG_UC101)
+ /* Set the LED configuration Register for the UC101 Board */
+ miiphy_write(dev->name, phyAddr, 0x14, 0x4122);
+#endif
if (fec->xcv_type == MII10) {
/*
* Force 10Base-T, FDX operation