public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH v2] PPC4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller
Date: Fri, 11 Jul 2008 13:24:28 +0200	[thread overview]
Message-ID: <200807111324.28897.sr@denx.de> (raw)
In-Reply-To: <1215647195-14462-1-git-send-email-gerickson@nuovations.com>

On Thursday 10 July 2008, Grant Erickson wrote:
> This patch completes the preprocessor mneomics for the IBM DDR2 SDRAM
> controller registers (MODT and INITPLR) used by the
> PowerPC405EX(r). The MMODE and MEMODE registers are unified with their
> peer values used for the INITPLR MR and EMR registers,
> respectively. Finally, a spelling typo is correct (MANUEL to MANUAL).
>
> With these mnemonics in place, the CFG_SDRAM0_* magic numbers for
> Kilauea are replaced by equivalent mnemonics to make it easier to
> compare and contrast other 405EX(r)-based boards (e.g. during board
> bring-up).
>
> Finally, unified the SDRAM controller register dump routine such that
> it can be used across all processor variants that utilize the IBM DDR2
> SDRAM controller core. It produces output of the form:
>
> 	PPC4xx IBM DDR2 Register Dump:
> 		...
> 	        SDRAM_MB0CF[40] = 0x00006701
> 		...
>
> which is '<mnemonic>[<DCR #>] = <value>'. The DCR number is included
> since it is not uncommon that the DCR values in header files get mixed
> up and it helps to validate, at a glance, they match what is printed
> in the user manual.
>
> Tested on:
>   AMCC Kilauea/Haleakala:
>   - NFS Linux Boot: PASSED
>   - NAND Linux Boot: PASSED
>
> Signed-off-by: Grant Erickson <gerickson@nuovations.com>

Applied to "next" branch in u-boot-ppc4xx repository. Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

      reply	other threads:[~2008-07-11 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-09 23:46 [U-Boot-Users] [PATCH v2] PPC4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller Grant Erickson
2008-07-11 11:24 ` Stefan Roese [this message]

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=200807111324.28897.sr@denx.de \
    --to=sr@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