diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-03-27 17:14:36 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-05-05 23:57:17 +0200 |
commit | 8cd852824d91e232f1f820a0772c3c1d8af84b05 (patch) | |
tree | 91126ab80dc282461f3cd4c573b965fc689fc87c /common/dlmalloc.c | |
parent | 3882d7a5a57eb8d1f41570522445bab61c628e6f (diff) | |
download | u-boot-imx-8cd852824d91e232f1f820a0772c3c1d8af84b05.zip u-boot-imx-8cd852824d91e232f1f820a0772c3c1d8af84b05.tar.gz u-boot-imx-8cd852824d91e232f1f820a0772c3c1d8af84b05.tar.bz2 |
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>
Diffstat (limited to 'common/dlmalloc.c')
0 files changed, 0 insertions, 0 deletions