[U-Boot] [PATCH 2/2] mx6cuboxi: Make Ethernet functional

Troy Kisky troy.kisky at boundarydevices.com
Mon Jan 4 23:06:27 CET 2016


On 1/4/2016 2:50 PM, Fabio Estevam wrote:
> Hi Troy,
> 
> On Mon, Jan 4, 2016 at 6:40 PM, Troy Kisky
> <troy.kisky at boundarydevices.com> wrote:
> 
>> Except for clearing bit 2 (which is undocumented), this looks just like the default
>> implementation, which you are still calling below.
>>
>> So, it looks like this subroutine can be replaced with an appropriate delay.
>> If bit 2 does matter, perhaps the default ar8035_config should be changed instead.
> 
> Just realized that ar8035_config() is never called in my case, so doing:
> 
> int board_phy_config(struct phy_device *phydev)
> {
>     mx6_rgmii_rework(phydev);
> 
>     return 0;
> }
> 
> , is enough here.
> 
> Any idea as to why ar8035_config() is never called?
> 

=> mii read 6 2
004D
=> mii read 6 3
D072
=>

Do you get a different value?



More information about the U-Boot mailing list