public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Asemann <peter.asemann@web.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] byte-order in the u-boot .c files
Date: Thu, 02 Dec 2004 13:59:40 +0100	[thread overview]
Message-ID: <41AF11BC.6050403@web.de> (raw)
In-Reply-To: <20041202094727.AC3A2C1430@atlas.denx.de>

Ehm... okay, I was going to write an sdram- 
initialization-/refresh-/access- code following the wise and detailed 
instructions in chapter 15.9 of my fine MPC886 family reference manual.

I also took a look to uboot/board/NAME/NAME.c files to see how others 
initialize their SDRAM and program it.

Now the problem is that I'm not sure if the bit order of the 
documentation and the bit-order of the hex-values in the C-Code are 
corresponding. So I'm neither capable of looking what the others did in 
their code nor of generating hexadecimal representations of my bitstrings.

It seems like not to know this is incredibly stupid as I couldn't find 
anything about byte order in the README or the u-boot manual.

Anyway, if anyone could please tell me something about the byte-order of 
the u-boot code and how it relates to MPC-manual-byte-order, I'd be very 
happy.

Peter Asemann

  reply	other threads:[~2004-12-02 12:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-02  8:48 [U-Boot-Users] help starting Sam Song
2004-12-02  9:47 ` Wolfgang Denk
2004-12-02 12:59   ` Peter Asemann [this message]
2004-12-02 13:16     ` [U-Boot-Users] byte-order in the u-boot .c files Wolfgang Denk
2004-12-02 13:02   ` [U-Boot-Users] help starting Sam Song

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=41AF11BC.6050403@web.de \
    --to=peter.asemann@web.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