
27 Jul
2011
27 Jul
'11
11:38 p.m.
Dear Heiko Schocher,
In message 1307079504-5208-1-git-send-email-hs@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@denx.de cc: Wolfgang Denk hs@denx.de cc: Mike Frysinger vapier@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@denx.de
Fascinating, a totally parochial attitude.
-- Spock, "Metamorphosis", stardate 3219.8