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:
ee0a846
)
Command for accessing serial flash update
author
TsiChung Liew
<tsicliew@gmail.com>
Tue, 30 Jun 2009 14:30:19 +0000
(14:30 +0000)
committer
TsiChung Liew
<Tsi-Chung.Liew@freescale.com>
Tue, 14 Jul 2009 14:46:39 +0000
(09:46 -0500)
Change strtoul number base of argv 3 from 0 to 16
Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
common/cmd_sf.c
patch
|
blob
|
history
diff --git
a/common/cmd_sf.c
b/common/cmd_sf.c
index 2d463a8c978d628914821313818d3a3816f94144..d571f60c04874bdfea4589d99a9bd1410d3f1b89 100644
(file)
--- a/
common/cmd_sf.c
+++ b/
common/cmd_sf.c
@@
-48,7
+48,7
@@
static int do_spi_flash_probe(int argc, char *argv[])
goto usage;
}
if (argc >= 4) {
- mode = simple_strtoul(argv[3], &endp,
0
);
+ mode = simple_strtoul(argv[3], &endp,
16
);
if (*argv[3] == 0 || *endp != 0)
goto usage;
}