[U-Boot] [RFC PATCH] net: macb: Fix build error for CONFIG_DM_ETH enabled

Joe Hershberger joe.hershberger at gmail.com
Thu Aug 4 19:06:07 CEST 2016


On Tue, May 17, 2016 at 12:11 AM, Wenyou Yang <wenyou.yang at atmel.com> wrote:
> Use the right phy_connect() prototype for CONFIGF_DM_ETH.
> Support to get the phy interface from dt and set GMAC_UR.
>
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
> ---
> This patch is based on the patch set,
> [PATCH 00/18] at91: Convert Ethernet and LCD to driver model
>         http://lists.denx.de/pipermail/u-boot/2016-May/253559.html
>
> Hi Simon,
>
> With this patch, the ethernet works on SAMA5D2 Xplained board.
> But it includes a lot of #ifdef, I think it is not pretty.
>
> What is your opinions?

I think this is OK to get that board working for now. We will address
all such mess in the future.

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


More information about the U-Boot mailing list