[U-Boot-Users] Re: a small problem

Wolfgang Denk wd at denx.de
Fri Jun 27 08:51:26 CEST 2003


In message <3EFBBE6A.6000200 at bonbon.net> you wrote:
> 
> In post/memory.c file
...
> 	unsigned long memsize = (bd->bi_memsize >= 256 << 20 ?
> 				 256 << 20 : bd->bi_memsize) - (1 << 20);
...
> I think the line should be:
> 
> 	unsigned long memsize = (bd->bi_memsize >= 257 << 20 ?
> 				 256 << 20 : bd->bi_memsize) - (1 << 20);

Will you please explain what makes you think so?


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
...though his invention worked superbly -- his theory was a crock  of
sewage from beginning to end.         - Vernor Vinge, "The Peace War"




More information about the U-Boot mailing list