diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2016-06-13 10:15:48 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-09-29 06:03:15 +0200 |
commit | c345927696d18c8c00d0f1d1820d2c21dee32a09 (patch) | |
tree | 9750827a3cf6fa9cb1737cda8ea37c15b5cac5de /include/configs/colibri_imx7.h | |
parent | fd714a5cdeb8e13cbe66d2dfe262a738c8940ff8 (diff) |
nand: extend nand torture
nand torture currently works on exactly one nand block which is specified
by giving the byteoffset to the beginning of the block.
Extend this by allowing for a second parameter specifying the byte size
to be tested.
e.g.
==> nand torture 1000000
NAND torture: device 0 offset 0x1000000 size 0x20000 (block size 0x20000)
Passed: 1, failed: 0
==> nand torture 1000000 40000
NAND torture: device 0 offset 0x1000000 size 0x40000 (block size 0x20000)
Passed: 2, failed: 0
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
[scottwood: fix usage to show size as optional, and add misssing braces]
Signed-off-by: Scott Wood <oss@buserror.net>
(cherry picked from commit 1866be7d28ce807397e4aedd93f70564ac8bebc0)
Diffstat (limited to 'include/configs/colibri_imx7.h')
0 files changed, 0 insertions, 0 deletions