]> git.sur5r.net Git - u-boot/commitdiff
[Fix] Set the LED status register on the UC101 for the LXT971 PHY.
authorHeiko Schocher <hs@pollux.denx.de>
Sat, 14 Apr 2007 03:26:48 +0000 (05:26 +0200)
committerHeiko Schocher <hs@pollux.denx.de>
Sat, 14 Apr 2007 03:26:48 +0000 (05:26 +0200)
        clear the Display after reset.

Signed-off-by: Heiko Schocher <hs@denx.de>
board/uc101/uc101.c
cpu/mpc5xxx/fec.c

index 7a6b3be72e6b3067723de17c28739c9a828f7caa..f7265139653d81691dbd0958a40617da06d3397b 100644 (file)
@@ -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;
 }
 
index 13a3870f3dc68b0b8c241f2a1a951a0e0a267fd9..e59bd85e1b5dff47fbf414c06bcde0bf25747cc2 100644 (file)
@@ -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