All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kumar Gala <kumar.gala@motorola.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] questions regarding support for new command (getspr/setspr)
Date: Tue, 27 Jan 2004 23:43:06 -0600	[thread overview]
Message-ID: <D8A54727-5154-11D8-A361-000393DBC2E8@motorola.com> (raw)

I was wondering if it was considered useful to extend the 
CFG_CMD_SETGETDCR done by Erik Theisen for DCR registers on the 4xx 
family to all PowerPC products for SPRs (CFG_CMD_SETGETSPR).

This is rather simple but can be a useful command.

If, so I had a few questions:

1. Is it ok that the command does not do any checking on the SPR 
number.  This is quick difficult and would have to be done per 
processor since what SPRs exists is implementation specific.  If the 
user gives the commands an SPR that does not exist the result is going 
to be some exception (is this ok)
2. What numerical format should the spr number for the command be taken 
in?  My think is decimal
3. For setspr what numerical format should the spr value be taken in? 
My thinking is hex
4. For getspr what numerical format should the spr be printed in? My 
thinking is hex

If so, I will fixup my working patch and submit it once I get answers 
to the questions.

thanks

- kumar

             reply	other threads:[~2004-01-28  5:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-28  5:43 Kumar Gala [this message]
2004-01-28  9:20 ` [U-Boot-Users] questions regarding support for new command (getspr/setspr) 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=D8A54727-5154-11D8-A361-000393DBC2E8@motorola.com \
    --to=kumar.gala@motorola.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.