From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration
Date: Fri, 17 Jul 2009 19:05:07 +0200 [thread overview]
Message-ID: <200907171905.07765.sr@denx.de> (raw)
In-Reply-To: <6E8E337F-3ED6-4F93-884E-8D7324D2DCF9@kernel.crashing.org>
On Friday 17 July 2009 17:38:13 Kumar Gala wrote:
> On Jul 17, 2009, at 8:53 AM, Stefan Roese wrote:
> > This patch adds a generic command for programming I2C bootstrap
> > eeproms on PPC4xx. An implementation for Canyonlands board is
> > included.
> >
> > The command name is intentionally chosen not to be PPC4xx specific.
> > This way other CPU's/SoC's can implement a similar command under
> > the same name, perhaps with a different syntax.
> >
> > Usage on Canyonlands:
> >
> > => cpu_config
> > Available configurations (I2C address 0x52):
> > 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100
> > 600-nand - NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100
> > 800-nor - NOR CPU: 800 PLB: 200 OPB: 100 EBC: 100
> > 800-nand - NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100
> > 1000-nor - NOR CPU:1000 PLB: 200 OPB: 100 EBC: 100
> > 1000-nand - NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100
> > 1066-nor - NOR CPU:1066 PLB: 266 OPB: 88 EBC: 88 ***
> > 1066-nand - NAND CPU:1066 PLB: 266 OPB: 88 EBC: 88
> > => cpu_config 600-nor
> > Using configuration:
> > 600-nor - NOR CPU: 600 PLB: 200 OPB: 100 EBC: 100
> > done (dump via 'i2c md 52 0.1 10')
> > Reset the board for the changes to take effect
> >
> > Other 4xx boards will be migrated to use this command soon
> > as well.
> >
> > Signed-off-by: Stefan Roese <sr@denx.de>
> > Signed-off-by: Dirk Eibach <eibach@gdsys.de>
> > Cc: Matthias Fuchs <matthias.fuchs@esd.eu>
>
> we could use something similar on some of the FSL SoCs. What about
> renaming this chip_config? When I see cpu I think of just CPU cores.
"chip_config" is fine for me as well. If nobody objects or suggest something
else, I'll send a new patch version in a days or two.
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
=====================================================================
next prev parent reply other threads:[~2009-07-17 17:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-17 13:53 [U-Boot] [PATCH v3] Add "cpu_config" command for PPC4xx bootstrap configuration Stefan Roese
2009-07-17 14:39 ` Wolfgang Denk
2009-07-17 14:45 ` Stefan Roese
2009-07-17 15:38 ` Kumar Gala
2009-07-17 17:05 ` Stefan Roese [this message]
2009-07-17 18:26 ` Wolfgang Denk
2009-07-17 19:57 ` Matthias Fuchs
2009-07-17 20:58 ` Wolfgang Denk
2009-07-18 9:55 ` Matthias Fuchs
2009-07-19 7:55 ` Wolfgang Denk
2009-07-19 11:23 ` Matthias Fuchs
2009-07-19 17:03 ` Stefan Roese
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=200907171905.07765.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