In message <[EMAIL PROTECTED]> you wrote:
>
> > > #define CFG_MBYTES_SDRAM        256
> >
> > No. All boards, especially all PowerPC boards, should use dynamic
> > memory size detection.
> 
> You are probably referring to calling get_ram_size() instead of just 
> returning 
> the configured fixed value. But what do we gain here. get_ram_size() also 
> needs the ram-size as parameter. Not sure if this is an improvement on such 
> fixed systems.

It just needs a maximum possible size.

One major advantage is for example that get_ram_size() verifies  that
RAM is actually working, and of expected size. It is a very efficient
test to make sure your hardware is actually working.

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: [EMAIL PROTECTED]
"I can call spirits from the vasty deep."
"Why so can I, or so can any man; but will they come when you do call
for them?"          - Shakespeare, 1 King Henry IV, Act III, Scene I.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to