[U-Boot] [PATCH 1/2] net: fec_mxc: configure MDIO hold time
Stefano Babic
sbabic at denx.de
Sun Jan 3 15:27:16 CET 2016
On 08/12/2015 17:08, Eric Nelson wrote:
> Hi Mans,
>
> On 12/08/2015 08:38 AM, Mans Rullgard wrote:
>> If the host clock frequency is higher than 100 MHz, the MDIO hold
>> time needs to be increased from its current setting of one cycle in
>> order to meet the specified minium of 10 ns. Writing an appropriate
>> value to the HOLDTIME field of the MII_SPEED register achieves this.
>>
>> Comment copied from Linux kernel.
>>
>> Signed-off-by: Mans Rullgard <mans at mansr.com>
>> ---
>> drivers/net/fec_mxc.c | 18 +++++++++++++++---
>> 1 file changed, 15 insertions(+), 3 deletions(-)
>>
>> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
>> index 79f6737..1250d2a 100644
>> --- a/drivers/net/fec_mxc.c
>> +++ b/drivers/net/fec_mxc.c
>> @@ -131,13 +131,25 @@ static void fec_mii_setspeed(struct ethernet_regs *eth)
>> /*
>> * Set MII_SPEED = (1/(mii_speed * 2)) * System Clock
>> * and do not drop the Preamble.
>> + *
>
> s/filed/field/
Fixed by applying.
Applied to u-boot-imx, thanks!
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list