All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] post, memorytest: fix if vstart is not = 0x0
@ 2011-06-01  6:24 Heiko Schocher
  2011-06-01  6:24 ` [U-Boot] [PATCH] post, arm, memorytest: add support for arm based boards Heiko Schocher
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Heiko Schocher @ 2011-06-01  6:24 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Heiko Schocher <hs@denx.de>
---
 post/drivers/memory.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/post/drivers/memory.c b/post/drivers/memory.c
index 3f47449..b7943ef 100644
--- a/post/drivers/memory.c
+++ b/post/drivers/memory.c
@@ -500,9 +500,10 @@ int memory_post_test(int flags)
 			unsigned long i;
 			for (i = 0; i < (memsize >> 20) && ret == 0; i++) {
 				if (ret == 0)
-					ret = memory_post_tests(i << 20, 0x800);
+					ret = memory_post_tests(vstart +
+						(i << 20), 0x800);
 				if (ret == 0)
-					ret = memory_post_tests(
+					ret = memory_post_tests(vstart +
 						(i << 20) + 0xff800, 0x800);
 			}
 		}
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-07-28 20:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-01  6:24 [U-Boot] [PATCH] post, memorytest: fix if vstart is not = 0x0 Heiko Schocher
2011-06-01  6:24 ` [U-Boot] [PATCH] post, arm, memorytest: add support for arm based boards Heiko Schocher
2011-06-01  6:37   ` Wolfgang Denk
2011-06-01  6:54     ` Heiko Schocher
2011-06-01 13:51       ` Mike Frysinger
2011-06-02  5:53         ` Heiko Schocher
2011-06-02 12:40           ` Wolfgang Denk
2011-06-02 15:08           ` Mike Frysinger
2011-06-03  5:39             ` Heiko Schocher
2011-06-03  6:30               ` Wolfgang Denk
2011-06-01  6:24 ` [U-Boot] [PATCH] post, memory test: add memory_post_test() to include file Heiko Schocher
2011-07-25 21:43   ` Wolfgang Denk
2011-07-26  8:26     ` Wolfgang Denk
2011-07-26 11:57       ` Wolfgang Denk
2011-07-26 16:41         ` Heiko Schocher
2011-07-27  6:31   ` [U-Boot] [PATCH v2] " Heiko Schocher
2011-07-28 20:39     ` Wolfgang Denk
2011-07-27 21:37 ` [U-Boot] [PATCH] post, memorytest: fix if vstart is not = 0x0 Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.