[U-Boot-Users] M5282EVB - initdram() does not return a value

Erez Koelewyn ekoelewyn at gmail.com
Tue Oct 16 15:16:18 CEST 2007


Hi,

When working with a M5282EVB configuration I have noticed that initdram()
(in /board/m5282evb/m5282evb.c) does not return a value. It should return
the dram size.
This causes U-Boot to be unable to complete it's boot process since dram
size is set to some garbage value.

Adding the following line at the end of the function solved the problem:

return (dramsize);

Regards,

Erez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071016/a7e19b8b/attachment.htm 


More information about the U-Boot mailing list