Re: [PATCH v3] net: dsa: mv88e6xxx: Wait for EEPROM done after HW reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 24, 2019 at 06:43:13PM -0700, Andrey Smirnov wrote:
> Based on a unpublished patch from Andrew Lunn:
> 
>     When the switch is hardware reset, it reads the contents of the
>     EEPROM. This can contain instructions for programming values into
>     registers and to perform waits between such programming. Reading
>     the EEPROM can take longer than the 100ms
>     mv88e6xxx_hardware_reset() waits after deasserting the reset
>     GPIO. So poll the EEPROM done bit to ensure it is complete.
> 
>     Signed-off-by: Andrew Lunn <andrew@xxxxxxx>
> 
> orignal patch augmented to have necessary Global 1 plubming, ported to
> Barebox and slightly changed.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> Cc: Chris Healy <cphealy@xxxxxxxxx>
> Cc: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
> ---

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux