Frans Meulenbroeks 8cd852824d cmd_onenand.c: moved to standard subcommand handling
On the fly also fixed the following things:
- write help talked about a parameter oob, but that one was not used, so
  removed it from the help message.
- the test command also allowed a force subcommand but didn't use it.
  eliminated the code.
- do_onenand made static
- do_onenand contained
	int blocksize;
	...
	mtd = &onenand_mtd;
	this = mtd->priv;
	blocksize = (1 << this->erase_shift);
  As blocksize was not used the last two statements were unneeded so
  removed them.
  The first statement (mtd = ....) assigns to a global. Not sure if it
  is needed, and since I could not test this, left the line for now

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-05-05 23:57:17 +02:00
..
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-04-01 11:28:32 +02:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:44:13 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:42:37 +01:00
2009-07-28 22:38:53 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:12 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-03-21 16:44:04 +01:00
2009-10-27 20:58:25 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-07 09:15:26 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-24 22:44:18 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:13 +01:00
2009-07-23 21:33:02 +02:00
2009-07-09 13:04:25 +02:00
2009-06-12 20:47:16 +02:00
2010-04-08 21:40:00 +02:00
2009-06-12 20:47:16 +02:00
2010-03-12 23:06:04 +01:00
2009-06-12 20:47:16 +02:00
2010-03-12 23:06:04 +01:00
2009-12-02 22:53:51 +01:00
2008-10-18 21:54:03 +02:00
2009-07-16 22:23:53 +02:00
2010-01-18 00:23:00 +01:00
2010-04-21 23:42:38 +02:00
2010-03-24 11:23:15 +01:00
2010-01-18 00:44:13 +01:00
2008-10-18 21:54:03 +02:00
2010-04-08 21:40:00 +02:00