nand: fix nand read.option parsing
authorHarvey Chapman <hchapman@3gfp.com>
Thu, 7 Feb 2013 11:34:44 +0000 (11:34 +0000)
committerScott Wood <scottwood@freescale.com>
Sat, 23 Feb 2013 00:49:04 +0000 (18:49 -0600)
commitced199dc858d57e807d3ec2a511c4bd9a4bd8765
treee99dc7ee146865f2cabf3d8be90e7e040dd9c8c6
parent8fdf1e0f6d645f79a9b0677e062bf48d786c5b9e
nand: fix nand read.option parsing

"nand read.part addr off size" would be treated as "nand read.raw addr off 1"
It now fails as intended stating "Unknown nand command suffix '.part'"

Signed-off-by: Harvey Chapman <hchapman@3gfp.com>
common/cmd_nand.c