From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Resubmit : [PATCH] Correct ARM Versatile Timer Initialization
Date: Tue, 12 Aug 2008 10:36:28 +0200 [thread overview]
Message-ID: <20080812083628.GF9467@game.jcrosoft.org> (raw)
In-Reply-To: <000001c8fc4c$5b735be0$3a4d010a@Emea.Arm.com>
On 08:23 Tue 12 Aug , Peter Pearse wrote:
>
>
> > -----Original Message-----
> > From: Gururaja Hebbar K R [mailto:gururajakr at sanyo.co.in]
> > Sent: 12 August 2008 03:57
> > To: Jean-Christophe PLAGNIOL-VILLARD
> > Cc: u-boot at lists.denx.de; wd at denx.de; Peter Pearse
> > Subject: RE: Resubmit : [PATCH] Correct ARM Versatile Timer
> > Initialization
> >
> >
> > Hi,
> >
> > > according to datasheet for the register TimerXControl
> > >
> > > we are supposed to not modify the bits [31:8] and [4]
> > >
> > > so we are suppose to read the register and modify only the others
> > > register.
s/register/bits/
> >
> > Does this mean i need to resend the earlier patch. Writing 00
> > to these bits ( 31:8 & 4) is undefined.
>
> Generally, in ARM terminology, one should avoid writing values where writing
> a value or bit is undefined.
Not only in ARM.
> "Undefined" implies, not that there is no result, but that the outcome is
> not defined by the specification.
> Hence it is good practice to read/change/write registers with undefined
> bits, or bits where writing is undefined.
That exaclty what I mean
> This is especially important with bits defined as such in ARM TRMs since
> different ARM customers may implement
> the ARM IP in different ways i.e writing a value to such bits may have
> different results in different implementations
> and or versions of the hardware.
Thanks Peter for the clarification,
Best Regards,
J.
next prev parent reply other threads:[~2008-08-12 8:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-04 1:00 [U-Boot-Users] Resubmit : [PATCH] Correct ARM Versatile Timer Initialization Gururaja Hebbar K R
2008-08-11 21:11 ` Jean-Christophe PLAGNIOL-VILLARD
2008-08-12 2:57 ` [U-Boot] " Gururaja Hebbar K R
2008-08-12 7:23 ` Peter Pearse
2008-08-12 8:36 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2008-08-15 9:01 ` [U-Boot] Resubmit : [PATCH] Correct ARM Versatile TimerInitialization Gururaja Hebbar K R
[not found] ` <FADDE7A05FA0A649BE2BE1D9B1CEDBEF2E69B7@blrms.slti.sanyo.co.in>
2008-08-19 0:51 ` Gururaja Hebbar K R
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=20080812083628.GF9467@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--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