[U-Boot] [PATCH v2 0/5] arm, am33xx: update for the am33xx based siemens boards

Vaibhav Bedia vaibhav.bedia at gmail.com
Mon Nov 4 20:45:28 CET 2013


Hi Marek,

On Mon, Nov 4, 2013 at 12:34 PM, Marek Vasut <marex at denx.de> wrote:
> Dear Vaibhav Bedia,
>
>> On Mon, Nov 4, 2013 at 8:15 AM, Heiko Schocher <hs at 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.

Regards,
Vaibhav

[1] http://lists.denx.de/pipermail/u-boot/2013-August/161593.html


More information about the U-Boot mailing list