From 6db431d627f707a3bcd820a2bc32e2a2689c3185 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 22 Aug 2016 16:21:57 +0200 Subject: mtd-utils: Add nand sub-page test utility Basically a user space port of the mtd sub page test kernel module. In addition to the module parameters, the utility supports using only a sub-range of the flash erase blocks with a configurable stride and can restore the block contents after the test. Signed-off-by: David Oberhollenzer Signed-off-by: Richard Weinberger --- tests/mtd-tests/Makemodule.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/mtd-tests/Makemodule.am') diff --git a/tests/mtd-tests/Makemodule.am b/tests/mtd-tests/Makemodule.am index 55d8329..5925fd9 100644 --- a/tests/mtd-tests/Makemodule.am +++ b/tests/mtd-tests/Makemodule.am @@ -22,9 +22,13 @@ nandpagetest_SOURCES = tests/mtd-tests/nandpagetest.c nandpagetest_LDADD = libmtd.a nandpagetest_CPPFLAGS = $(AM_CPPFLAGS) +nandsubpagetest_SOURCES = tests/mtd-tests/nandsubpagetest.c +nandsubpagetest_LDADD = libmtd.a +nandsubpagetest_CPPFLAGS = $(AM_CPPFLAGS) + MTDTEST_BINS = \ flash_torture flash_stress flash_speed nandbiterrs flash_readtest \ - nandpagetest + nandpagetest nandsubpagetest if INSTALL_TESTS pkglibexec_PROGRAMS += $(MTDTEST_BINS) -- cgit v1.2.3