mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
* Fix config option spelling in PM520 config file
* Fix PHY discovery problem in cpu/mpc8xx/fec.c (introduced by patches by Pantelis Antoniou, 30 Mar 2004)
This commit is contained in:
parent
2729af9d54
commit
62b4ac98a4
3 changed files with 15 additions and 6 deletions
|
@ -2,6 +2,11 @@
|
||||||
Changes since U-Boot 1.1.1:
|
Changes since U-Boot 1.1.1:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Fix config option spelling in PM520 config file
|
||||||
|
|
||||||
|
* Fix PHY discovery problem in cpu/mpc8xx/fec.c (introduced by
|
||||||
|
patches by Pantelis Antoniou, 30 Mar 2004)
|
||||||
|
|
||||||
* Fix minor NAND JFFS2 related issue
|
* Fix minor NAND JFFS2 related issue
|
||||||
|
|
||||||
* Fixes for SL811 USB controller:
|
* Fixes for SL811 USB controller:
|
||||||
|
|
|
@ -689,13 +689,14 @@ static int fec_init (struct eth_device *dev, bd_t * bd)
|
||||||
* wait for the PHY to wake up after reset
|
* wait for the PHY to wake up after reset
|
||||||
*/
|
*/
|
||||||
efis->actual_phy_addr = mii_discover_phy (dev);
|
efis->actual_phy_addr = mii_discover_phy (dev);
|
||||||
#else
|
|
||||||
efis->actual_phy_addr = -1;
|
|
||||||
#endif
|
|
||||||
if (efis->actual_phy_addr == -1) {
|
if (efis->actual_phy_addr == -1) {
|
||||||
printf ("Unable to discover phy!\n");
|
printf ("Unable to discover phy!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
efis->actual_phy_addr = -1;
|
||||||
|
#endif
|
||||||
} else {
|
} else {
|
||||||
efis->actual_phy_addr = efis->phy_addr;
|
efis->actual_phy_addr = efis->phy_addr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CONFIG_MPC5200
|
#define CONFIG_MPC5200
|
||||||
#define CONFIG_MPC5XXX 1 /* This is an MPC5xxx CPU */
|
#define CONFIG_MPC5xxx 1 /* This is an MPC5xxx CPU */
|
||||||
#define CONFIG_PM520 1 /* ... on PM520 board */
|
#define CONFIG_PM520 1 /* ... on PM520 board */
|
||||||
|
|
||||||
#define CFG_MPC5XXX_CLKIN 33000000 /* ... running at 33MHz */
|
#define CFG_MPC5XXX_CLKIN 33000000 /* ... running at 33MHz */
|
||||||
|
@ -184,8 +184,11 @@
|
||||||
/*
|
/*
|
||||||
* Ethernet configuration
|
* Ethernet configuration
|
||||||
*/
|
*/
|
||||||
#define CONFIG_MPC5XXX_FEC 1
|
#define CONFIG_MPC5xxx_FEC 1
|
||||||
#define CONFIG_FEC_10MBIT 1 /* Workaround for FEC 100Mbit problem */
|
/*
|
||||||
|
* Define CONFIG_FEC_10MBIT to force FEC at 10Mb
|
||||||
|
*/
|
||||||
|
/* #define CONFIG_FEC_10MBIT 1 */
|
||||||
#define CONFIG_PHY_ADDR 0x00
|
#define CONFIG_PHY_ADDR 0x00
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue