[U-Boot-Users] Re: a small problem
Yabo Ding
bobfree at bonbon.net
Fri Jun 27 09:56:11 CEST 2003
Sorry, I have a mistake about the parenthesis' position.
Yabo Ding
Wolfgang Denk wrote:
> 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
>
More information about the U-Boot
mailing list