From 7785fe2df617fb0e55342f52372634cd0441564f Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 8 Jun 2017 16:45:18 -0700 Subject: 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 Acked-by: Marcel Ziswiler --- cmd/mem.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.3