From: Niklaus Giger Date: Wed, 23 Sep 2009 06:12:14 +0000 (+0200) Subject: Cleanup: use constant X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7936b51165b519a16ecf3db302fb88df8b8b3b3d;p=u-boot.git Cleanup: use constant Signed-off-by: Niklaus Giger --- diff --git a/common/miiphyutil.c b/common/miiphyutil.c index 66fd9cad87..196ef4a7ba 100644 --- a/common/miiphyutil.c +++ b/common/miiphyutil.c @@ -299,7 +299,7 @@ int miiphy_reset (char *devname, unsigned char addr) debug ("PHY status read failed\n"); return (-1); } - if (miiphy_write (devname, addr, PHY_BMCR, reg | 0x8000) != 0) { + if (miiphy_write (devname, addr, PHY_BMCR, reg | PHY_BMCR_RESET) != 0) { debug ("PHY reset failed\n"); return (-1); }