Re: [U-Boot-Users] Does CFG_CMD_SDRAM only use for SDRAM DIMMs?

Frank frannk_m1@yahoo.com wrote:
isdram...
Thanks for this hint. Uh, but my problem came out of lacking the related configuration "CFG_CMD_I2C". From common/cmd_i2c.c, CFG_CMD_SDRAM is included in the body of CFG_CMD_I2C:-)
Wolfgang Denk wd@denx.de wrote:
You are expected to check the README before posting.
I did:-)
Uhmmm, I didn't read the code:-(
It says:
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?
Best regards,
Sam
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...

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

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
participants (3)
-
Jerry Van Baren
-
Sam Song
-
Wolfgang Denk