From: Minkyu Kang Date: Fri, 26 Feb 2010 01:24:49 +0000 (+0900) Subject: mtdparts: remove compiler warning X-Git-Tag: JB18_20100226~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d2488d9e22689540320877016179aa6332d5b13;p=kernel%2Fu-boot.git mtdparts: remove compiler warning Signed-off-by: Minkyu Kang --- diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c index 619e48e..83ef0ca 100644 --- 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