Hi Aggrwal,

>> > I could not understand common/memsize.c, how it works?
>> 
>> It writes markers at specific memory locations and then reads 
>> these back. The algorithm is chosen to be fast but still to 
>> be able to detect mirrored address ranges and other memory errors.
> Suppose I configure MAX_MEM)SIZE as 1Gig and the actual memory on the
> board is 512M, is this function supposed to return 512M?

That's the spirit, indeed.

Cheers
  Detlev

-- 
(define Y (lambda (f)
            ((lambda (g) (f (lambda (x) ((g g) x))))
             (lambda (g) (f (lambda (x) ((g g) x)))))))
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to