public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA
Date: Thu, 06 Jul 2017 13:20:08 +0200	[thread overview]
Message-ID: <20170706112008.CB6DC122F8B@gemini.denx.de> (raw)
In-Reply-To: <1e6c1b5c-2e49-6784-6d6d-f4532aa20434@c-s.fr>

Dear Christophe,

In message <1e6c1b5c-2e49-6784-6d6d-f4532aa20434@c-s.fr> you wrote:
> 
> > Like a few lines above, you could/should use a single call to
> > clrsetbits_be32() here.  And as Heiko already commented, please use
> > readable names istead of the magic numbers.
> 
> I shall not use clrsetbits_be32(), because the ERRATA says:
> 
> Program the PLPRCR such that the PLL clock will change, then reprogram 
> the PLPRCR value back to the desired value

Ah! This is critical information, so please add a comment to explain
this.  [Otherwise there is the risk some later "optimization" intro-
duces a bug.]

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
He had been eight years upon a project for extracting sunbeams out of
cucumbers, which were to be put in vials hermetically sealed, and let
out to warm the air in raw inclement summers.        - Jonathan Swift
              _Gulliver's Travels_ ``A Voyage to Laputa, etc.'' ch. 5

  parent reply	other threads:[~2017-07-06 11:20 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06  8:33 [U-Boot] [PATCH v2 0/10] powerpc, 8xx: Modernise the 8xx Christophe Leroy
2017-07-06  8:33 ` [U-Boot] [PATCH v2 01/10] powerpc, 8xx: move immap.c in arch/powerpc/cpu/mpc8xx/ Christophe Leroy
2017-07-06  8:41   ` Christophe LEROY
2017-07-06  9:40   ` Heiko Schocher
2017-07-09  0:24   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 02/10] powerpc, 8xx: move specific reginfo Christophe Leroy
2017-07-06  9:40   ` Heiko Schocher
2017-07-09  0:24   ` [U-Boot] [U-Boot,v2,02/10] " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 03/10] powerpc, 8xx: Use IO accessors to access IO memory Christophe Leroy
2017-07-06  9:41   ` Heiko Schocher
2017-07-09  0:24   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 04/10] powerpc, 8xx: Implement GLL2 ERRATA Christophe Leroy
2017-07-06  9:43   ` Heiko Schocher
2017-07-06 10:56   ` Wolfgang Denk
2017-07-06 11:12     ` Christophe LEROY
2017-07-06 11:18       ` Christophe LEROY
2017-07-06 11:20       ` Wolfgang Denk [this message]
2017-07-06  8:33 ` [U-Boot] [PATCH v2 05/10] powerpc, 8xx: Handle checkpatch errors and some of the warnings/checks Christophe Leroy
2017-07-06  9:43   ` Heiko Schocher
2017-07-09  0:24   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 06/10] powerpc, 8xx: Properly set CPM frequency in the device tree Christophe Leroy
2017-07-06  9:46   ` Heiko Schocher
2017-07-09  0:25   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 07/10] powerpc, 8xx: Migrate to Kconfig Christophe Leroy
2017-07-06  8:57   ` Bin Meng
2017-07-06  9:47   ` Heiko Schocher
2017-07-09  0:25   ` [U-Boot] [U-Boot,v2,07/10] " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 08/10] powerpc, 8xx: move FEC Ethernet driver in drivers/net Christophe Leroy
2017-07-06  8:54   ` Bin Meng
2017-07-06 12:02     ` Tom Rini
2017-07-09  0:25   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 09/10] powerpc, 8xx: move SPI driver to drivers/spi/ Christophe Leroy
2017-07-09  0:25   ` [U-Boot] [U-Boot, v2, " Tom Rini
2017-07-06  8:33 ` [U-Boot] [PATCH v2 10/10] powerpc, 8xx: move Serial driver to drivers/serial/ Christophe Leroy
2017-07-09  0:25   ` [U-Boot] [U-Boot, v2, " Tom Rini

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=20170706112008.CB6DC122F8B@gemini.denx.de \
    --to=wd@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