[U-Boot-Users] EEPROM question

Hi,
I have a custom board with PPC 405. The board is designed based on Walnut. But it doesn't have EEPROM. I noticed that if I remove CFG_SPD_EEPROM, compiling u-boot will be failed, because initdram calls spd_sdram. spd_sdram is not definied if CFG_SPD_EEPROM is not defined. Is there any instruction for how to develop without EEPROM?
Thanks,
Frank
_________________________________________________________________ MSN Toolbar provides one-click access to Hotmail from any Web page FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/

In message BAY2-F191QW4Ojf43rj00030356@hotmail.com you wrote:
I have a custom board with PPC 405. The board is designed based on Walnut. But it doesn't have EEPROM. I noticed that if I remove CFG_SPD_EEPROM,
I guess you are mixing things up here. "No EEPROM" is probably something else than the SPD EEPROM on your SDRAM DIMMs.
compiling u-boot will be failed, because initdram calls spd_sdram. spd_sdram is not definied if CFG_SPD_EEPROM is not defined. Is there any instruction for how to develop without EEPROM?
Fix your configuration.
We don't know your hardware so it is difficult to come up with a good recommendation.
If there is just no "normal" EEPROM, then remove EEPROM support (and probably I2C support as well if there is no other device on the I2C bus) from the command definitions.
If there is no SPD EEPROM on your memory chips, then you will have to adjust the initdram() code.
Best regards,
Wolfgang Denk
participants (2)
-
Frank Young
-
Wolfgang Denk