From: Mike Frysinger Date: Thu, 2 Jun 2011 11:08:56 -0400 Subject: [U-Boot] [PATCH] post, arm, memorytest: add support for arm based boards In-Reply-To: <4DE72566.9040008@denx.de> References: <1306909447-19603-1-git-send-email-hs@denx.de> <201106010951.42345.vapier@gentoo.org> <4DE72566.9040008@denx.de> Message-ID: <201106021108.57043.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, June 02, 2011 01:53:42 Heiko Schocher wrote: > Mike Frysinger wrote: > > so add bi_memsize to arm ? it's the only arch that lacks it. > > Hmm.. I thought of that too, but wouldn;t it be better to use > gd->ram_size in post/drivers/memory.c, as this is defined in > global_data for all archs? makes me wonder why we have bd->bi_memsize in the first place. and how can this possibly work ? arch/arm/lib/board.c: sprintf ((char *)memsz, "%ldk", (bd->bi_memsize / 1024) - pram); -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20110602/483f10af/attachment.pgp