projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5c2854
)
usbd: add compile condition for fat write
author
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 3 Dec 2010 02:42:01 +0000
(11:42 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 3 Dec 2010 02:42:01 +0000
(11:42 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
common/cmd_usbd.c
patch
|
blob
|
history
diff --git
a/common/cmd_usbd.c
b/common/cmd_usbd.c
index
b22fe9e
..
3289852
100644
(file)
--- a/
common/cmd_usbd.c
+++ b/
common/cmd_usbd.c
@@
-1325,6
+1325,7
@@
out:
break;
case IMG_KERNEL_V2:
+#ifdef CONFIG_FAT_WRITE
if (!block_dev)
block_dev = mmc_get_dev(0);
@@
-1347,9
+1348,14
@@
out:
ret = 0;
break;
}
+#else
+ printf("error: doesn't support\n");
+ ret = 0;
+#endif
break;
case IMG_MODEM_V2:
+#ifdef CONFIG_FAT_WRITE
if (!block_dev)
block_dev = mmc_get_dev(0);
@@
-1372,6
+1378,10
@@
out:
ret = 0;
break;
}
+#else
+ printf("error: doesn't support\n");
+ ret = 0;
+#endif
break;
default: