Heiko Schocher 09c3280754 mtd, nand: Move common functions from cmd_nand.c to common place
Move common functions from cmd_nand.c (for calculating offset
and size from cmdline paramter) to common place, so they could
used from other commands which use mtd partitions.

For onenand the arg_off_size() is left in common/cmd_onenand.c.
It should use now the common arg_off() function, but as I could
not test onenand I let it there ...

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: Jagannadh Teki <jteki@openedev.com>
2015-06-30 00:40:11 +05:30
..
2015-01-14 11:35:44 -05:00
2015-01-14 11:35:44 -05:00
2011-01-18 23:38:08 +01:00
2014-01-08 17:20:34 -07:00
2014-07-18 17:53:22 -04:00
2010-09-19 19:29:47 +02:00
2015-06-10 19:26:55 -06:00
2014-10-25 07:02:01 -04:00
2012-04-29 14:14:08 +02:00
2014-07-18 17:53:23 -04:00
2014-10-27 11:04:01 -04:00