[U-Boot] [PATCH 07/18] net: macb: Convert to driver model

Yang, Wenyou wenyou.yang at atmel.com
Wed May 4 09:29:11 CEST 2016


Hi,

On 2016/5/3 15:53, Heiko Schocher wrote:
> Hello Simon,
>
> Am 03.05.2016 um 08:40 schrieb Simon Glass:
>> Add driver-model support to this driver. The old code remains for now so
>> that we can convert boards one at a time.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>>   drivers/net/macb.c | 119 
>> +++++++++++++++++++++++++++++++++++++++++++++++++++++
>>   1 file changed, 119 insertions(+)
>
> Thanks!
>
> Reviewed-by: Heiko Schocher <hs at denx.de>
>
> tested on the smartweb, corvus, taurus and axm board
>
> Tested-by: Heiko Schocher <hs at denx.de>

I tried to test this patch series on SAMA5D2 Xplained board, but I have 
the following compile warning , did you experience it.

----8<-----------
drivers/net/macb.c: In function 'macb_phy_init':
drivers/net/macb.c:487:9: warning: passing argument 3 of 'phy_connect' 
from incompatible pointer type [enabled by default]
In file included from include/miiphy.h:22:0,
                  from drivers/net/macb.c:36:
include/phy.h:226:20: note: expected 'struct udevice *' but argument is 
of type 'const struct device **'
--->8----------------

>
> bye,
> Heiko

Best Regards,
Wenyou Yang



More information about the U-Boot mailing list