[U-Boot-Users] [RFC/PATCH] fix initdram / use of phys_addr_t

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Mar 12 23:25:33 CET 2008


On 10:38 Wed 12 Mar     , Kumar Gala wrote:
> Wolfgang,
> 
> Before I went and looked at every board that uses initdram I wanted to get
> some feedback of such a patch (for a wide majority of boards) would be
> acceptable.
> 
> The idea is that initdram() should really have returned a 'unsigned long'.
> However if we are going to change everyone that has initdram I figure we
> should make it return a phys_addr_t.
> 
> I believe you've had some discussions with Jon on the subject and I wanted
> to know if using 'phys_addr_t' here would be acceptable (before I looked
> at trying to fix up ~200 boards).
> 
> The patch gives an example of what I'm looking at changing.

I'm currently fixing the get_ram_size too that is define as
long   get_ram_size  (volatile long *, long);

Best Regards,
J.




More information about the U-Boot mailing list