projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdf1e0
)
nand: fix nand read.option parsing
author
Harvey Chapman
<hchapman@3gfp.com>
Thu, 7 Feb 2013 11:34:44 +0000
(11:34 +0000)
committer
Scott Wood
<scottwood@freescale.com>
Sat, 23 Feb 2013 00:49:04 +0000
(18:49 -0600)
"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
patch
|
blob
|
history
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index 1568594ca4109c0944292fb2ea7762fa343e7e76..495610c40586fa118073d44f335bdaf434f4ab6b 100644
(file)
--- a/
common/cmd_nand.c
+++ b/
common/cmd_nand.c
@@
-608,7
+608,7
@@
static int do_nand(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
size_t rwsize;
ulong pagecount = 1;
int read;
- int raw;
+ int raw
= 0
;
if (argc < 4)
goto usage;