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] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP
Date: Fri, 15 May 2015 16:32:38 +0200	[thread overview]
Message-ID: <55560386.8000302@denx.de> (raw)
In-Reply-To: <CAH9NwWdgzuf_iW2p6gLsUagMPYUU2UN9PkhACyZ+SbAfp3v9hg@mail.gmail.com>

Hi Christian,

On 15/05/2015 16:26, Christian Gmeiner wrote:

>> Function does not returns the value of the fuse, else it should returns
>> val. The value is parsed for consistency, and if it is not, 0 means a
>> failure. IMHO this interpretation is correct - I would agree with you
>> only if the return value would be the read value, but it is not.
>>
> 
> If all mx6 variants use the same otp register/values, then the
> ifs are _NOT_ needed. I hope that later testings/doc updates/etc
> proofs it and we can get rid of the superfluous ifs.
> 

Ok - let's see if this can be proofed. It looks like we have to test and
ask the hardware for that instead of relying on the documentation.

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
=====================================================================

  reply	other threads:[~2015-05-15 14:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14  5:08 [U-Boot] [PATCH v2 0/2]: imx: mx6: use OTP for freq grade Tim Harvey
2015-05-14  5:08 ` [U-Boot] [PATCH v2 1/2] imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP Tim Harvey
2015-05-15  7:53   ` Christian Gmeiner
2015-05-15 13:20     ` Stefano Babic
2015-05-15 14:26       ` Christian Gmeiner
2015-05-15 14:32         ` Stefano Babic [this message]
2015-05-15 19:54           ` Troy Kisky
2015-05-15 20:38             ` Tim Harvey
2015-05-15 20:43               ` Troy Kisky
2015-05-15 22:34                 ` Troy Kisky
2015-05-15 22:57                   ` Otavio Salvador
2015-05-15 23:24                     ` Troy Kisky
2015-05-15 13:42     ` Tim Harvey
2015-05-17 21:37   ` Nikolay Dimitrov
2015-05-14  5:08 ` [U-Boot] [PATCH v2 2/2] mx: mx6: display max cpu frequency in print_cpuinfo() Tim Harvey
2015-05-17 21:38   ` Nikolay Dimitrov

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=55560386.8000302@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