From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Fri, 29 Mar 2019 20:05:57 +0100 Subject: [U-Boot] [Resend Patch] net: mscc: ocelot: Fix reset of the phys In-Reply-To: <1553678178-21407-1-git-send-email-horatiu.vultur@microchip.com> References: <1553678178-21407-1-git-send-email-horatiu.vultur@microchip.com> Message-ID: <2613ffd8-453f-a352-78d2-e088064a56b2@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Daniel Schwierzeck > --- > drivers/net/mscc_eswitch/ocelot_switch.c | 27 ++++++++++----------------- > 1 file changed, 10 insertions(+), 17 deletions(-) > applied to u-boot-mips/next, thanks. -- - Daniel