From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Mon, 4 Apr 2005 08:38:10 -0400 Subject: [U-Boot-Users] Does CFG_CMD_SDRAM only use for SDRAM DIMMs? In-Reply-To: <20050402085527.0A157C108D@atlas.denx.de> References: <20050402085527.0A157C108D@atlas.denx.de> Message-ID: <42513532.7020407@smiths-aerospace.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message <20050402075050.98724.qmail@web15908.mail.cnb.yahoo.com> you wrote: > >>>>> CFG_CMD_SDRAM * print SDRAM configuration information >> >>Well, should we add a note beside it like >>"Must be used with CFG_CMD_I2C" to show their >>relationship? > > > Good idea. Submit a patch? > > Best regards, > > Wolfgang Denk When you are submitting this patch ;-), you might want to add a note that this is reading from the standard configuration information from the I2C EEPROM on a DIMM memory module. This command is not useful for built-in SDRAM memories (i.e. soldered to the motherboard). I suspect that applies to Frank and the SDRAM configuration read command is not useful for him. In general, if you have DIMM memory modules, you probably have I2C enabled in order to configure them. Conversely, if you don't have I2C, you probably don't have DIMM memory modules and the command is useless. The third case is that you have DIMM memory modules but are not using the I2C configuration information out of them... in that case you should be adding I2C and the automatic configuration. gvb