From: stroese Date: Tue, 5 Jul 2005 11:35:27 +0000 (+0000) Subject: * Patch by Stefan Roese, 5 Jul 2005: X-Git-Tag: LABEL_2006_03_12_0025~270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd5b2b9941d5b6f6596787ebdb03c215d91fc44d;p=oweals%2Fu-boot.git * Patch by Stefan Roese, 5 Jul 2005: Update uc100 board PHY setup --- diff --git a/CHANGELOG b/CHANGELOG index 30a7a8a8d4..3a8a534cf8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes for U-Boot 1.1.3: ====================================================================== +* Patch by Stefan Roese, 5 Jul 2005: + Update uc100 board PHY setup + * Patch by Stefan Roese, 1 Jul 2005: Fix PHY address for CATcenter board (now correct!) diff --git a/board/uc100/uc100.c b/board/uc100/uc100.c index 55977906d8..6fc68e5cc3 100644 --- a/board/uc100/uc100.c +++ b/board/uc100/uc100.c @@ -28,6 +28,7 @@ #include #include #include +#include /*********************************************************************/ @@ -252,6 +253,14 @@ int misc_init_r (void) val |= 0x80; i2c_reg_write (CFG_I2C_RTC_ADDR, 0x0D, val); + /* + * Configure PHY to setup LED's correctly and use 100MBit, FD + */ + mii_init(); + + miiphy_write(0, PHY_BMCR, 0x2100); /* disable auto-negotiation, 100mbit, full-duplex */ + miiphy_write(0, PHY_FCSCR, 0x4122); /* set LED's to Link, Transmit, Receive */ + return 0; }