Files
u-boot-tk1-som/cmd
Max Krummenacher 1866be7d28 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>
2016-06-19 19:25:12 -05:00
..
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:08 -04:00
2016-03-14 15:34:50 -06:00
2016-05-27 10:01:06 -04:00
2016-05-02 18:37:09 -04:00
2016-01-27 15:55:54 +01:00
2016-04-18 17:11:36 -04:00
2016-02-22 16:21:12 +01:00
2016-01-25 10:39:43 -05:00
2016-05-23 15:18:00 +08:00
2016-02-06 12:00:59 +01:00
2016-03-22 12:16:13 -04:00
2016-01-25 10:39:43 -05:00
2016-06-19 19:25:12 -05:00
2016-04-18 12:29:14 -04:00
2016-02-06 12:00:59 +01:00
2016-01-25 10:39:43 -05:00
2016-03-27 09:12:55 -04:00
2016-02-06 12:00:59 +01:00
2016-02-26 08:53:10 -07:00
2016-05-17 09:54:43 -06:00