[U-Boot] [PATCH 04/10] net: fec: Add default CONFIG_FEC_MXC_PHYADDR for few boards

Joe Hershberger joe.hershberger at ni.com
Mon Jul 30 23:06:45 UTC 2018


On Mon, Jul 30, 2018 at 7:45 AM, Jagan Teki <jagan at amarulasolutions.com> wrote:
> Usually PHYADDR is used while PHYLIB is defined, but
> boards like apx4devkit, mx6qarm2 are not using PHYLIB
> but they are using CONFIG_FEC_MXC_PHYADDR.
>
> So, future patches will convert CONFIG_FEC_MXC_PHYADDR to
> generic CONFIG_PHY_ADDR and that will depends on PHYLIB.
> Handle this special case for this boards by adding default
> CONFIG_FEC_MXC_PHYADDR to 0 if not defined so-that it can't
> depends on PHYLIB local to fec_mxc. Boards which are using
> PHY_ADDR in future will anyway use PHYLIB.
>
> Cc: Ye Li <ye.li at nxp.com>
> Cc: Jason Liu <jason.hui.liu at nxp.com>
> Cc: Lauri Hintsala <lauri.hintsala at bluegiga.com>
> 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