[U-Boot] [PATCH] post, arm, memorytest: add support for arm based boards
Mike Frysinger
vapier at gentoo.org
Thu Jun 2 17:08:56 CEST 2011
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
More information about the U-Boot
mailing list