public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Pierre AUBERT <p.aubert@staubli.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Power On Self Tests
Date: Thu, 21 Nov 2002 10:47:22 +0100	[thread overview]
Message-ID: <3DDCABA9.DD718682@staubli.com> (raw)

Hello Everybody,

During the power on self tests, the bootmode of the board is stored in
the processor DPRAM. This
location is hardcoded in commproc.h. The following patch adds the
opportunity to override this value
in the board config file. The position of this value in DPRAM depends on
the usage of the DPRAM
made by the operating system.

For example, on an MPC860T, I've add
#define CFG_CPM_POST_WORD_ADDR    0x0ffc
in the board config file to have the bootmode being the last word of the
DPRAM.


--- ppcboot-2.0.0/include/commproc.h    2002-10-16 13:31:18.000000000
+0200
+++ ppcboot-2.0.0-m/include/commproc.h  2002-11-21 10:42:31.000000000
+0100
@@ -77,7 +77,11 @@

 #endif

+#ifndef CFG_CPM_POST_WORD_ADDR
 #define CPM_POST_WORD_ADDR     0x07FC
+#else
+#define CPM_POST_WORD_ADDR     CFG_CPM_POST_WORD_ADDR
+#endif

 #define BD_IIC_START   ((uint) 0x0400) // <- please use CPM_I2C_BASE !!






Best regards

             reply	other threads:[~2002-11-21  9:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21  9:47 Pierre AUBERT [this message]
2002-11-21 12:15 ` [U-Boot-Users] Power On Self Tests Wolfgang Denk
2002-11-21 13:05   ` Pierre AUBERT
2002-11-21 13:30     ` Wolfgang Denk
2002-11-21 14:16       ` Pierre AUBERT

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=3DDCABA9.DD718682@staubli.com \
    --to=p.aubert@staubli.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox