public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/5] arm, am33xx: update for the am33xx based siemens boards
Date: Tue, 05 Nov 2013 04:30:01 +0100	[thread overview]
Message-ID: <52786639.3030906@denx.de> (raw)
In-Reply-To: <CANacCWyDA27GJSx7Hp5w_b1sAmJscUY7BWROWPXrpb+R5FDzsw@mail.gmail.com>

Hello Vaibhav Bedia,

Am 04.11.2013 20:45, schrieb Vaibhav Bedia:
> Hi Marek,
>
> On Mon, Nov 4, 2013 at 12:34 PM, Marek Vasut<marex@denx.de>  wrote:
>> Dear Vaibhav Bedia,
>>
>>> On Mon, Nov 4, 2013 at 8:15 AM, Heiko Schocher<hs@denx.de>  wrote:
>>> [...]
>>>
>>>> Hups, missed this EMail ... :-(
>>>
>>> No problem. Happens all the time :)
>>>
>>>> Hmm.. some boards from siemens do not use the RTC, so this approach
>>>> is not possible here ...
>>>
>>> By unused do you mean it's not powered up or is it simply not programmed?
>>>
>>> Even if the RTC is not programmed the register would still be there. I
>>> don't have a
>>> board with me to check the behavior but i am guessing the RTC
>>> functionality doesn't
>>> need to be used to make use of the scratchpad registers.
>>
>> If your hardware's IP block's clock are not ungated, the register access to that
>> IP block will usually not work.
>>
> Yes, i understand that. However, in this case AFAICT the interface clock
> is always present and hence it should be possible to use the RTC registers.
> Moreover, i just noticed Tom applied a bootcount patch for AM335x [1] which
> does use the scratchpad register that i am pointing to. So unless there's
> some other board level difference that i am missing it should work.

We see for example on the dxr2 board, that we cannot access the RTC
registers ... also, they use it on other boards without RTC and all
siemens boards should have the same manner.

There is also a possibility to disable the RTC on am335x based boards,
see:

http://processors.wiki.ti.com/index.php/AM335x_Schematic_Checklist#RTC

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2013-11-05  3:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04  7:02 [U-Boot] [PATCH v2 0/5] arm, am33xx: update for the am33xx based siemens boards Heiko Schocher
2013-11-04  7:02 ` [U-Boot] [PATCH v2 1/5] bootcount: store bootcount var in environment Heiko Schocher
2013-11-04  7:02 ` [U-Boot] [PATCH v2 2/5] arm, am33x: make RTC32K OSC enable configurable Heiko Schocher
2013-11-04  7:02 ` [U-Boot] [PATCH v2 3/5] usb, g_dnl: make iSerialNumber board configurable Heiko Schocher
2013-11-04 11:05   ` Lukasz Majewski
2013-11-04  7:02 ` [U-Boot] [PATCH v2 4/5] usb, g_dnl: make bcdDevice value configurable Heiko Schocher
2013-11-04  7:02 ` [U-Boot] [PATCH v2 5/5] arm, am335x: update for the siemens boards Heiko Schocher
2013-11-04 12:45 ` [U-Boot] [PATCH v2 0/5] arm, am33xx: update for the am33xx based " Vaibhav Bedia
2013-11-04 13:15   ` Heiko Schocher
2013-11-04 13:24     ` Vaibhav Bedia
2013-11-04 17:34       ` Marek Vasut
2013-11-04 19:45         ` Vaibhav Bedia
2013-11-05  3:30           ` Heiko Schocher [this message]
2013-11-06 12:18             ` Vaibhav Bedia

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=52786639.3030906@denx.de \
    --to=hs@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