[U-Boot] [PATCH v7 4/4] Kirkwood: add lschlv2 and lsxhl board support

Luka Perkov uboot at lukaperkov.net
Fri Jun 1 01:07:12 CEST 2012


Hi Michael,

On Thu, May 31, 2012 at 08:12:45PM +0200, Michael Walle wrote:

...

> +#ifdef CONFIG_RESET_PHY_R
> +/* Configure and enable MV88E1118 PHY */
> +void reset_phy(void)
> +{
> +	u16 devadr;
> +	char *name = "egiga1";
> +
> +	if (miiphy_set_current_dev(name))
> +		return;
> +
> +	/* command to read PHY dev address */
> +	if (miiphy_read(name, 0xEE, 0xEE, (u16 *) &devadr)) {
> +		printf("Err..%s could not read PHY dev address\n", __func__);
> +		return;
> +	}
> +
> +	/* reset the phy */
> +	miiphy_reset(name, devadr);
> +}
> +#endif /* CONFIG_RESET_PHY_R */

Can you please test without this part if your network will work?

Regards,
Luka


More information about the U-Boot mailing list