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] PPC4xx: Add a non-EEPROM-driven SDRAM Initialization Function for the 405EX(r).
Date: Mon, 19 May 2008 08:42:37 +0200	[thread overview]
Message-ID: <200805190842.37118.sr@denx.de> (raw)
In-Reply-To: <C4566C1E.F420%gerickson@nuovations.com>

On Monday 19 May 2008, Grant Erickson wrote:
> > And I'm wondering if this code really should go into this
> > file "44x_spd_ddr2.c". Since now a 405 variant (405EX) can use this code
> > too we should probably change the name to "4xx_spd_ddr2.c". And with this
> > new fixed DDR2 init code it the SPD is not really fitting anymore. So the
> > new name should probably be "4xx_ddr2.c".
> >
> > Comments welcome.
>
> This controller works with both DDR and DDR2 memories, so that might be
> misleading.

Right. But we need to differentiate from the "DDR only" controller used on 
440GP/GX/EP/GR.

> What I'd like to see is a move away from processor-based 
> CONFIG_ and towards feature-based CONFIG_. In that way, we can avoid
> ever-growing lists like:
>
>     #if defined(CONFIG_PPCX) || defined(CONFIG_PPCY) ||
> defined(CONFIG_PPCZ)

Full ack.

> However, what's needed then are convenient mnemonics for various
> cores/blocks. EMAC works well enough for that block. However,
> DDR/DDR2/SDRAM seem too generic. Does AMCC call this block something
> internally that's leaked out? I see "Denali" used for one memory controller
> core, correct? Or is that a board name? 

Denali is the name of the DDR(2) controller core IP supplier used on 440EPx 
etc. Since the "other" DDR(2) controller core comes from IBM, we should 
probably name it "4xx_ibm_ddr2.c". Not sure about ddr2 vs. ddr though.

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-05-19  6:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-17  7:31 [U-Boot-Users] [PATCH] PPC4xx: Add a non-EEPROM-driven SDRAM Initialization Function for the 405EX(r) Grant Erickson
2008-05-19  6:19 ` Stefan Roese
2008-05-19  6:28   ` Grant Erickson
2008-05-19  6:42     ` 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=200805190842.37118.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