From: Wolfgang Denk Date: Fri, 27 Jun 2003 08:51:26 +0200 Subject: [U-Boot-Users] Re: a small problem In-Reply-To: Your message of "Fri, 27 Jun 2003 11:47:54 +0800." <3EFBBE6A.6000200@bonbon.net> Message-ID: <20030627065131.951B0C592A@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de ...though his invention worked superbly -- his theory was a crock of sewage from beginning to end. - Vernor Vinge, "The Peace War"