projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5de5d
)
post, memorytest: fix if vstart is not = 0x0
author
Heiko Schocher
<hs@denx.de>
Tue, 31 May 2011 20:24:05 +0000
(20:24 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 27 Jul 2011 21:37:01 +0000
(23:37 +0200)
Signed-off-by: Heiko Schocher <hs@denx.de>
post/drivers/memory.c
patch
|
blob
|
history
diff --git
a/post/drivers/memory.c
b/post/drivers/memory.c
index 4cca0357841a696b43a7952fb66d05ec0f9c2d75..8f46eef879003efbb271a6025f1d2dec1db5f9ef 100644
(file)
--- 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);
}
}