From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump
Date: Thu, 24 Sep 2009 13:17:58 +0200 [thread overview]
Message-ID: <200909241317.58809.sr@denx.de> (raw)
In-Reply-To: <1253786693.9216.5.camel@ptyser-laptop>
On Thursday 24 September 2009 12:04:53 Peter Tyser wrote:
> > Thinking a bit more about it, we should probably choose a more generic
> > name, so that other 4xx variants may use this command as well. How about
> > just using "regdump"?
> >
> > And please base you patch against the "4xx-register-cleanup" branch of my
> > u- boot-ppc4xx repo.
>
> What about adding a common 4xx_reginfo() function instead, then calling
> it from common/cmd_reginfo.c? Some of the 4xx dumping already in
> cmd_reginfo.c could also be moved to cpu/ppc4xx/[reginfo.c|cpu.c] to
> clean it up.
Good idea. I totally forgot about this code. At least the 4xx part is stone
age and can be dropper or replaced by the new concept introduced by Niklaus.
> Unless there's a good reason to have both "regdump" and
> "reginfo" commands...
I can't think of any. Niklaus, is this ok with you too?
If yes, then please create a patch as suggested by Peter, calling
ppc4xx_reginfo() function in common/cmd_reginfo.c (analog to
mpc86xx_reginfo()). And add cpu/ppc4xx/reginfo.c with this function.
I (or somebody else?) will then, if time permits, add some other 4xx variants
to this ppc4xx reginfo command as well.
Cheers,
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-09-24 11:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-23 15:22 [U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump Niklaus Giger
2009-09-23 15:22 ` [U-Boot] [PATCH] ppc4xx: Update Netstal configs Niklaus Giger
2009-09-23 15:22 ` [U-Boot] [PATCH] ppc4xx: Netstal boards: various cleanups Niklaus Giger
2009-09-23 16:57 ` Stefan Roese
2009-09-23 18:55 ` Wolfgang Denk
2009-09-23 18:50 ` [U-Boot] [PATCH] ppc4xx: Update Netstal configs Wolfgang Denk
2009-09-23 15:59 ` [U-Boot] [PATCH] ppc4xx: HCU5 board: add register dump Peter Tyser
2009-09-24 8:58 ` Niklaus Giger
2009-09-23 16:49 ` Stefan Roese
2009-09-23 17:51 ` Niklaus Giger
2009-09-24 9:21 ` Stefan Roese
2009-09-24 10:04 ` Peter Tyser
2009-09-24 11:17 ` Stefan Roese [this message]
2009-09-23 18:33 ` Wolfgang Denk
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=200909241317.58809.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