]> git.sur5r.net Git - u-boot/commit
net: lpc32xx: correct command register reset value
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 28 Jun 2015 03:03:38 +0000 (06:03 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 11 Aug 2015 18:37:17 +0000 (13:37 -0500)
commit6e039b4c624e293fb86710efd12a17afe268d6e9
treeb19c6335db75febdc0e27cd999b54eaf1c3dbccb
parent0b830198fb3c6ee0dbbe5aa98829eddbb27429b1
net: lpc32xx: correct command register reset value

According to LPC32x0 User Manual the following bits in Command
register 0x3106_0100 are defined:

  Bit    Symbol
    2  - Unused
    3  RegReset
    4   TxReset
    5   RxReset

Fix wrong (1-bit shifted right) COMMAND_RESETS value, which sets
an unused bit, but neglects RxReset.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/lpc32xx_eth.c