mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
Cleanup: use constant
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
This commit is contained in:
parent
91525c6715
commit
7936b51165
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue