]> git.sur5r.net Git - u-boot/commit
cmd_nand: slight optimization of nand_dump function
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 11 Jul 2013 08:27:13 +0000 (17:27 +0900)
committerScott Wood <scottwood@freescale.com>
Thu, 22 Aug 2013 22:25:02 +0000 (17:25 -0500)
commit7d25cd34e9d73ab7fff8f3c4283a11e50b0d204b
tree90b95c0445296b5b7a8760b6495778e4c6fc924b
parente40520b5b585c82d90e94c54cb3035b277e8280f
cmd_nand: slight optimization of nand_dump function

If a non-zero value is given to only_oob argument,
printing the main area is skipped.

With a little modification, we can skip the whole
while loop.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
common/cmd_nand.c