On Tue, 2011-02-08 at 10:52 -0600, Kumar Gala wrote:
> > +#endif > > > > uec = (uec_private_t *)dev->priv; > > > > if (uec->the_first_run == 0) { > > +#ifdef CONFIG_P1021 > > + /* reset micrel phy for each UEC */ > > + clrbits_8((u8 *)(CONFIG_SYS_BCSR_BASE + 11), BCSR11_ENET_MICRST); > > + udelay(200); > > + setbits_8((u8 *)(CONFIG_SYS_BCSR_BASE + 11), BCSR11_ENET_MICRST); > > + > > Hmm, this is board specific, can we not do this in board_*_f or _r? > It did not work to do this in board_*_f/r. The board designer to me to reset the phy before initializing it for each UEC separately. Here is the right place to do so. Haiying _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot