On Fri, 2009-07-24 at 20:01 +0530, Aggrwal Poonam-B10812 wrote: > > > 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?
Yes in this case but if you had 384M it would have returned 256M. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

