[U-Boot-Users] [PATCH] Enable the isdram command on the MPC8360EMDS board

Jerry Van Baren gvb.uboot at gmail.com
Sat Jan 12 19:24:14 CET 2008


The isdram command prints out decoded information the "serial presence
detect" (SPD) chip on the SDRAM SIMMs.  This can be very helpful when
debugging memory configuration problems.

Signed-off-by: Gerald Van Baren <vanbaren at cideas.com>
---

Hi Kim,

The isdram command is controlled separately from the rest of the i2c
commands (CONFIG_CMD_I2C + CONFIG_CMD_SDRAM).  I did this originally
because the isdram command was arguably a memory consuming luxury.
Luxuries tend to become necessities over time...

Larry Johnson submitted a patch yesterday to extend the decoding and
printout to include DDR2 fields, making this even more useful (and jdl
is claiming a share of the credit ;-).

gvb

 include/configs/MPC8360EMDS.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/MPC8360EMDS.h b/include/configs/MPC8360EMDS.h
index fdacb90..491bd4f 100644
--- a/include/configs/MPC8360EMDS.h
+++ b/include/configs/MPC8360EMDS.h
@@ -466,6 +466,7 @@
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_ASKENV
+#define CONFIG_CMD_SDRAM
 
 #if defined(CONFIG_PCI)
     #define CONFIG_CMD_PCI
-- 
1.5.3.7





More information about the U-Boot mailing list