[U-Boot] [Resend Patch] net: mscc: ocelot: Fix reset of the phys

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Fri Mar 29 19:05:57 UTC 2019



Am 27.03.19 um 10:16 schrieb Horatiu Vultur:
> The function mscc_miim_reset resets all the phys, but it is called for
> each phy separetely. One consequence of this is that the boot time
> is increased by 2 seconds.
> 
> The fix consists for calling the mscc_miim_reset function only once for
> all phys.
> 
> Signed-off-by: Horatiu Vultur <horatiu.vultur at microchip.com>
> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> ---
>  drivers/net/mscc_eswitch/ocelot_switch.c | 27 ++++++++++-----------------
>  1 file changed, 10 insertions(+), 17 deletions(-)
> 

applied to u-boot-mips/next, thanks.

-- 
- Daniel


More information about the U-Boot mailing list