]> git.sur5r.net Git - u-boot/commit
Fix wrong memory limit calculation in memory-test
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 8 Feb 2008 20:25:58 +0000 (21:25 +0100)
committerWolfgang Denk <wd@denx.de>
Thu, 14 Feb 2008 23:51:02 +0000 (00:51 +0100)
commit6f4abee789b6d9be3ec4b97ad48f509355559e9e
treefcea989a405f443a4e0acade29797cce0bcafd1b
parentae91a8055c933f4528d88cf92314dabdc8b6acf2
Fix wrong memory limit calculation in memory-test

If the length of the memory address range passed to the "mtest" command is
not of the form 2^x - 1, not all address lines are tested. This bug is
inherited from the original software at
http://www.netrino.com/Embedded-Systems/How-To/Memory-Test-Suite-C. Fix
this.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
common/cmd_mem.c