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

16 Oct
2007
16 Oct
'07
3:16 p.m.
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

16 Oct
16 Oct
4:09 p.m.
In message 7fd1eb680710160616x6a80a791m2eef2bfa8f9a0bc7@mail.gmail.com you wrote:
Adding the following line at the end of the function solved the problem:
return (dramsize);
Can you please provide a patch? See http://www.denx.de/wiki/UBoot/Patches for help.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"Marriage is like a cage; one sees the birds outside desperate to get
in, and those inside desperate to get out." - Montaigne
6413
Age (days ago)
6413
Last active (days ago)
1 comments
2 participants
participants (2)
-
Erez Koelewyn
-
Wolfgang Denk