On Thu, Mar 31, 2016 at 3:53 AM, Michal Simek <[email protected]> wrote: > From: Siva Durga Prasad Paladugu <[email protected]> > > PCS auto negotaiation bit should be enabled > along with SGMII autonegotation enabled > in phy. > > Signed-off-by: Siva Durga Prasad Paladugu <[email protected]> > Signed-off-by: Michal Simek <[email protected]> > --- > > drivers/net/zynq_gem.c | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c > index 52a8f2760012..aec8077f10b3 100644 > --- a/drivers/net/zynq_gem.c > +++ b/drivers/net/zynq_gem.c > @@ -93,6 +93,8 @@ DECLARE_GLOBAL_DATA_PTR; > > #define ZYNQ_GEM_TSR_DONE 0x00000020 /* Tx done mask */ > > +#define ZYNQ_GEM_PCS_CTL_ANEG_ENBL 0x1000
Use BIT() macro, please. > + > /* Use MII register 1 (MII status register) to detect PHY */ > #define PHY_DETECT_REG 1 > Otherwise, Acked-by: Joe Hershberger <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

