commands: add new memtest command
This new memtest can test the whole unused memory. The new memtest
command try to request the whole unused sdram regions on all banks and
run the mem_test routine from common/memtest.c on it.

The memtest command has only two parameters;
  -i	Amount of iterations, default 1, iteration of 0 is endless.
  -b	Set this to skip integrity check.(Do only a fast test for bus lines)

If MMU support is enable, memtest try to run memtest twice. The first with
cache enabled, the second with cache disabled.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3275c7e commit 842308e29774c577291cae09a8a71ecc3b708b92
@Alexander Aring Alexander Aring authored on 3 Jun 2013
Sascha Hauer committed on 8 Jun 2013
Showing 3 changed files
View
commands/Kconfig
View
commands/Makefile
View
commands/memtest.c 0 → 100644