Dear Andes, In message <1391675928-28370-1-git-send-email-ub...@andestech.com> you wrote: > From: rick <r...@andestech.com> > > can not execute get_ram_size(), because the > text/data will be corrupted by itself > in specific case.
You must be doing something wrong then. Of course you have to run get_ram_size() _before_ relocation to RAM. You cannot test the memory you are executing from. 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: w...@denx.de Q: How do you spell "onomatopoeia"? A: The way it sounds. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot