diff options
author | Niklaus Giger <niklaus.giger@netstal.com> | 2009-09-23 08:12:14 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-10-18 22:41:33 +0200 |
commit | 7936b51165b519a16ecf3db302fb88df8b8b3b3d (patch) | |
tree | efb4cbdc205b136c8e70ca0e9e6948d3296351dc /common/miiphyutil.c | |
parent | 91525c67153fcf2c19b2fc8d9c6376ac1a019f52 (diff) | |
download | u-boot-7936b51165b519a16ecf3db302fb88df8b8b3b3d.tar.gz u-boot-7936b51165b519a16ecf3db302fb88df8b8b3b3d.tar.bz2 u-boot-7936b51165b519a16ecf3db302fb88df8b8b3b3d.zip |
Cleanup: use constant
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
Diffstat (limited to 'common/miiphyutil.c')
-rw-r--r-- | common/miiphyutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |