mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
* Patch by Stefan Roese, 5 Jul 2005:
Update uc100 board PHY setup
This commit is contained in:
parent
88804d19e2
commit
cd5b2b9941
@ -2,6 +2,9 @@
|
|||||||
Changes for U-Boot 1.1.3:
|
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:
|
* Patch by Stefan Roese, 1 Jul 2005:
|
||||||
Fix PHY address for CATcenter board (now correct!)
|
Fix PHY address for CATcenter board (now correct!)
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <mpc8xx.h>
|
#include <mpc8xx.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
|
#include <miiphy.h>
|
||||||
|
|
||||||
|
|
||||||
/*********************************************************************/
|
/*********************************************************************/
|
||||||
@ -252,6 +253,14 @@ int misc_init_r (void)
|
|||||||
val |= 0x80;
|
val |= 0x80;
|
||||||
i2c_reg_write (CFG_I2C_RTC_ADDR, 0x0D, val);
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user