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:
83702ac
)
mtdparts: remove compiler warning
author
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 26 Feb 2010 01:24:49 +0000
(10:24 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Fri, 26 Feb 2010 01:24:49 +0000
(10:24 +0900)
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
common/cmd_mtdparts.c
patch
|
blob
|
history
diff --git
a/common/cmd_mtdparts.c
b/common/cmd_mtdparts.c
index
619e48e
..
83ef0ca
100644
(file)
--- a/
common/cmd_mtdparts.c
+++ b/
common/cmd_mtdparts.c
@@
-203,6
+203,7
@@
static unsigned long memsize_parse (const char *const ptr, const char **retptr)
return ret;
}
+#ifndef CONFIG_CMD_MTDPARTS_LITE
/**
* Format string describing supplied size. This routine does the opposite job
* to memsize_parse(). Size in bytes is converted to string and if possible
@@
-229,6
+230,7
@@
static void memsize_format(char *buf, u32 size)
else
sprintf(buf, "%u", size);
}
+#endif
/**
* This routine does global indexing of all partitions. Resulting index for