[U-Boot] [PATCH 08/10] dm: net: fec: Refactor mdio_init code

Joe Hershberger joe.hershberger at ni.com
Mon Jul 30 23:35:48 UTC 2018


On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki <jagan at amarulasolutions.com> wrote:
> mdio initialization in dm code is assigning bus->priv
> with pointer to struct ethernet_regs which leads to
> improper mii. Add proper udevice to store mii_bus priv
> and reuse the same in mdio ops.
>
> Also refactor mdio code, to make common ops for dm and non-dm.
>
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list