[PATCH 6/8] net: dwc_eth_qos: Split eqos_start() to get link speed

David Wu david.wu at rock-chips.com
Tue May 12 03:56:51 CEST 2020


Hi Patrice,

在 2020/5/11 下午8:48, Patrice CHOTARD 写道:
> Hi David
> 
> On 5/9/20 8:42 AM, David Wu wrote:
>> Hi Patrice,
>>
>> 在 2020/4/30 下午11:33, Patrice CHOTARD 写道:
>>> Can you explain why you are splitting this function in 2 parts and calling these parts sequentially ?
>>
>> For rockchip, need to obtain the current link speed to configure the tx clocks, (for example, in rgmii mode, 1000M link: 125M, 100M link: 25M, 10M link is 2.5M rate) and then enable gmac. So after the adjust_link(), before the start gamc, this intermediate stage needs to configure the clock according to the current link speed.
>>
>>
> Please, add these informations in the commit message

I will add it at the next version, Thanks.

> 
> Thanks
> 
> Patrice
> 




More information about the U-Boot mailing list