All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Enable the isdram command on the MPC8360EMDS board
Date: Sat, 12 Jan 2008 13:24:14 -0500	[thread overview]
Message-ID: <20080112182413.GA11442@cideas.com> (raw)

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@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

             reply	other threads:[~2008-01-12 18:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-12 18:24 Jerry Van Baren [this message]
2008-01-14 19:51 ` [U-Boot-Users] [PATCH] Enable the isdram command on the MPC8360EMDS board Jon Loeliger
2008-01-14 21:08   ` Jerry Van Baren
2008-01-14 22:26 ` Kim Phillips

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=20080112182413.GA11442@cideas.com \
    --to=gvb.uboot@gmail.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.