[U-Boot] [PATCH v2 07/11] dm: net: Adjust PHY interface to work with CONFIG_DM_ETH

Simon Glass sjg at chromium.org
Thu Apr 9 05:04:32 CEST 2015


On 5 April 2015 at 16:07, Simon Glass <sjg at chromium.org> wrote:
> When driver model is used for Ethernet a few functions are passed a udevice
> instead of an eth_device. Also add a function to find a PHY type given its
> name. This will be used to decode the device tree node.
>
> Finally, put a phy_interface field in struct eth_pdata since this is an
> important part of the platform data for Ethernet.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> ---
>
> Changes in v2: None
>
>  common/miiphyutil.c   |  1 +
>  drivers/net/phy/phy.c | 22 ++++++++++++++++++++++
>  include/net.h         |  2 ++
>  include/phy.h         | 23 ++++++++++++++++++++++-
>  4 files changed, 47 insertions(+), 1 deletion(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list