projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dm: Add Driver cores design document
[platform/kernel/u-boot.git]
/
common
/
cmd_nand.c
diff --git
a/common/cmd_nand.c
b/common/cmd_nand.c
index
fa44295
..
a91ccf4
100644
(file)
--- a/
common/cmd_nand.c
+++ b/
common/cmd_nand.c
@@
-617,7
+617,7
@@
int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
s = strchr(cmd, '.');
- if (!strcmp(s, ".raw")) {
+ if (
s &&
!strcmp(s, ".raw")) {
raw = 1;
if (arg_off(argv[3], &dev, &off, &size))