public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] arm imx35 timer failure
Date: Tue, 05 Apr 2011 15:48:19 +0200	[thread overview]
Message-ID: <4D9B1DA3.8050202@denx.de> (raw)
In-Reply-To: <1301408699.3605.24.camel@hrwks7001-l.haslerrail.net>

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

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

      reply	other threads:[~2011-04-05 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 14:24 [U-Boot] arm imx35 timer failure Laurent Joye
2011-04-05 13:48 ` Stefano Babic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9B1DA3.8050202@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox