From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yabo Ding Date: Fri, 27 Jun 2003 15:56:11 +0800 Subject: [U-Boot-Users] Re: a small problem References: <20030627065131.951B0C592A@atlas.denx.de> Message-ID: <3EFBF89B.4060008@bonbon.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Sorry, I have a mistake about the parenthesis' position. Yabo Ding Wolfgang Denk wrote: > In message <3EFBBE6A.6000200@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 >