public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Power On Self Tests
@ 2002-11-21  9:47 Pierre AUBERT
  2002-11-21 12:15 ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre AUBERT @ 2002-11-21  9:47 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-21 14:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-21  9:47 [U-Boot-Users] Power On Self Tests Pierre AUBERT
2002-11-21 12:15 ` Wolfgang Denk
2002-11-21 13:05   ` Pierre AUBERT
2002-11-21 13:30     ` Wolfgang Denk
2002-11-21 14:16       ` Pierre AUBERT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox