aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests/mtd_pagetest.c
Commit message (Collapse)AuthorAge
* mtd: make pagetest workArtem Bityutskiy2009-11-30
| | | | | | | | | The mtd_pagetest test did not initialize the pgsize variable, which basically means it did not work. This problem was reported by Török Edwin <edwintorok@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
* mtd: tests: fix read buffer overflowsRoel Kluin2009-09-04
| | | | | | | | Check whether index is within bounds before testing the element. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
* MTD: tests: add mtd_pagetestArtem Bityutskiy2008-12-08
This test checks that NAND pages read/write work fine. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>