summaryrefslogtreecommitdiff
path: root/drivers/net/mcfmii.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2015-07-06 07:22:10 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2015-08-11 13:42:34 -0500
commit23f5db0e26f0e6c25ba143e700b4812efdd5f941 (patch)
treea8e7accdf656acedafba26ab7c09316106bf607d /drivers/net/mcfmii.c
parentfe0596cac3079a74eeee93e2940010a7a158c58d (diff)
downloadu-boot-imx-23f5db0e26f0e6c25ba143e700b4812efdd5f941.zip
u-boot-imx-23f5db0e26f0e6c25ba143e700b4812efdd5f941.tar.gz
u-boot-imx-23f5db0e26f0e6c25ba143e700b4812efdd5f941.tar.bz2
net: lpc32xx: improve MAC configuration on reset and initialization
This change rearranges general MAC configuration and PHY specific configuration of MAC registers (duplex mode and speed), before this change set bits related to PHY configuration in MAC2 and COMMAND registers are rewritten by the following writing to the registers. Without the change auto negotiation on boot quite often is not completed in reasonable time: Waiting for PHY auto negotiation to complete......... TIMEOUT ! Additionally MAC1_SOFT_RESET clear bit is removed since it is done in preceding lpc32xx_eth_initialize() and in lpc32xx_eth_halt(), instead added missing MCFG_RESET_MII_MGMT on device initialization. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'drivers/net/mcfmii.c')
0 files changed, 0 insertions, 0 deletions