[U-Boot] [PATCH 1/2] net: lpc32xx: improve MAC configuration on reset and initialization

Joe Hershberger joe.hershberger at gmail.com
Wed Aug 12 21:34:08 CEST 2015


Hi Vladimir,

On Sun, Jul 5, 2015 at 11:22 PM, Vladimir Zapolskiy <vz at mleia.com> wrote:
> 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 at mleia.com>

Applied to u-boot-net, thanks!
-Joe


More information about the U-Boot mailing list