[U-Boot] [PATCH v2] post, memorytest: add support for none powerpc archs

Wolfgang Denk wd at denx.de
Wed Jul 27 23:38:29 CEST 2011


Dear Heiko Schocher,

In message <1307079504-5208-1-git-send-email-hs at denx.de> you wrote:
> change bd->bi_memsize to gd->ram_size, as this is defined
> on all archs, so this post test can used on none powerpc
> archs too.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>
> cc: Wolfgang Denk <hs at denx.de>
> cc: Mike Frysinger <vapier at gentoo.org>
> ---
> changes for v2:
>   added comment from Wolfgang Denk:
>     - add comment, that this function is only valid
>       for contiguous memory banks.
>   added comment from Mike Frysinger:
>     - use gd->ram_size instead of bd->bi_memsize
>       -> no ifdef needed.
> 
>  post/drivers/memory.c |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Fascinating, a totally parochial attitude.
	-- Spock, "Metamorphosis", stardate 3219.8


More information about the U-Boot mailing list