mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
post, memorytest: fix if vstart is not = 0x0
Signed-off-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
parent
af5de5d772
commit
90ea601536
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue