]> git.sur5r.net Git - u-boot/commit
integrator: do not test first part of the memory
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 23 Oct 2011 21:02:03 +0000 (21:02 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 8 Nov 2011 21:04:47 +0000 (22:04 +0100)
commit46b5ccbfe299887fa1f8b15d494d0a5f0e75ee2e
tree59c3cd90759625cb01c328d88045242f0c157ad8
parent60d1ea94ead7327d46f0a38cf8d20663a508fe34
integrator: do not test first part of the memory

When booting from Flash, the Integrator remaps its flash memory
from 0x24000000 to 0x00000000, and starts executing it at
0x00000000. This ROM thus hides the RAM underneath and first
0x40000 bytes of the memory cannot be tested by get_ram_size().
So let's test from 0x40000 to the end of detected memory
instead.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
board/armltd/integrator/integrator.c