
On 03/29/2011 04:24 PM, Laurent Joye wrote:
Hello, I'm developing a product based on the imx35 cpu with NOR and NAND flash. The SBC I use is the pcm-043 from Phytec. I use the FEC to communicate over the ethernet.
Hi Laurent,
It seems that the return value of the "get_timer_masked" function is not given with the same unit as the input value for the "get_timer" function. It seems also to me that this value should be dependent of the "CONFIG_SYS_HZ" macro.
I think you are right. However, examining your problem I checked that the i.MX35 timer functions are quite different compared to other i.MX processors (mX31 and MX5). There is no good reason to make things different and I think we should refactor this code containing the timer functions for the i.MX35 (and better having one single file with the i.MX31 code).
Best regards, Stefano Babic