Re: [U-Boot] [PATCH] net: execute "miiphy_init" if CONFIG_PHYLIB defined

2014-01-10 Thread Joe Hershberger
On Fri, Jan 10, 2014 at 9:58 AM, Alexey Brodkin wrote: > In "common/Makefile" "miiphyutil.o" gets built if any of the following > items enabled: > * CONFIG_PHYLIB > * CONFIG_MII > * CONFIG_CMD_MII > > So it's possible to not define CONFIG_MII or CONFIG_CMD_MII and still > use functions like "mi

[U-Boot] [PATCH] net: execute "miiphy_init" if CONFIG_PHYLIB defined

2014-01-10 Thread Alexey Brodkin
In "common/Makefile" "miiphyutil.o" gets built if any of the following items enabled: * CONFIG_PHYLIB * CONFIG_MII * CONFIG_CMD_MII So it's possible to not define CONFIG_MII or CONFIG_CMD_MII and still use functions like "miiphy_get_dev_by_name". In its turn "miiphy_get_dev_by_name" traverses