From 842308e29774c577291cae09a8a71ecc3b708b92 Mon Sep 17 00:00:00 2001 From: Alexander Aring Date: Tue, 4 Jun 2013 01:13:52 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- commands/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/Makefile') diff --git a/commands/Makefile b/commands/Makefile index 8b93dbdb2c..6acffc8284 100644 --- a/commands/Makefile +++ b/commands/Makefile @@ -48,6 +48,7 @@ obj-$(CONFIG_CMD_SAVEENV) += saveenv.o obj-$(CONFIG_CMD_LOADENV) += loadenv.o obj-$(CONFIG_CMD_NAND) += nand.o obj-$(CONFIG_CMD_NANDTEST) += nandtest.o +obj-$(CONFIG_CMD_MEMTEST) += memtest.o obj-$(CONFIG_CMD_TRUE) += true.o obj-$(CONFIG_CMD_FALSE) += false.o obj-$(CONFIG_CMD_VERSION) += version.o -- cgit v1.2.3