summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-06-08 16:45:18 -0700
committerStefan Agner <stefan.agner@toradex.com>2018-07-27 14:14:06 +0200
commit7785fe2df617fb0e55342f52372634cd0441564f (patch)
tree0e88157d752133933735983de242f35ac944e5db
parente51bb9477969b77698554b31c82939a0f48816bb (diff)
mtest: disable physical memory cell test for tezi
For faster test time shorten the alternative memory test to only do the stuck address/data line tests instead of full memory write pattern tests. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--cmd/mem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/mem.c b/cmd/mem.c
index a690957d0f..23eb02d759 100644
--- a/cmd/mem.c
+++ b/cmd/mem.c
@@ -870,6 +870,7 @@ static ulong mem_test_alt(vu_long *buf, ulong start_addr, ulong end_addr,
addr[test_offset] = pattern;
}
+#ifdef CONFIG_TDX_EASY_INSTALLER
/*
* Description: Test the integrity of a physical
* memory device by performing an
@@ -930,6 +931,7 @@ static ulong mem_test_alt(vu_long *buf, ulong start_addr, ulong end_addr,
}
addr[offset] = 0;
}
+#endif /* CONFIG_TDX_EASY_INSTALLER */
return errs;
}