Dear Scott Wood, In message <20100527194618.gc5...@schlenkerla.am.freescale.net> you wrote: > On Thu, May 27, 2010 at 08:16:28PM +0200, Wolfgang Denk wrote: > > get_ram_size() used to use "long" data types for addresses and data, > > which limited it to systems with less than 4 GiB memory. As more and > > more systems are coming up with bigger memory resources, we adapt the > > code to use phys_addr_t / phys_size_t data types instead. > > This cannot work as is. The only systems where this makes a difference are > where physical addresses are larger than virtual pointers -- but you try to > shove the 64-bit physical offset into a 32-bit pointer. > > You need to create temporary mappings, if you really want to do this.
? Isn't phys_addr_t assumed to be the right data type to hold a physical address? 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 "And it should be the law: If you use the word `paradigm' without knowing what the dictionary says it means, you go to jail. No exceptions." - David Jones @ Megatest Corporation _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot