From: Wolfgang Denk Date: Wed, 27 Jul 2011 23:38:29 +0200 Subject: [U-Boot] [PATCH v2] post, memorytest: add support for none powerpc archs In-Reply-To: <1307079504-5208-1-git-send-email-hs@denx.de> References: <1307079504-5208-1-git-send-email-hs@denx.de> Message-ID: <20110727213829.7DC651579DE6@gemini.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 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 > cc: Wolfgang Denk > cc: Mike Frysinger > --- > 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