summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-05-18 11:09:00 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-12 11:05:50 -0400
commit44e375277e41742b6a94142ec3c09d842692608b (patch)
tree0568a7aa51ab692c760f53d3678b9b4f4f7b11a1 /common
parent4e57e9184552bff5939fbdd351173a42e3e23c41 (diff)
ENGR00209899-2 MX6Q: cleanup: cleanup fastboot, udc warnning.
cleanup android fastboot and udc build warnnings. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_fastboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c
index c28f6dfd63..660ff5ce64 100644
--- a/common/cmd_fastboot.c
+++ b/common/cmd_fastboot.c
@@ -117,6 +117,7 @@ static fastboot_ptentry ptable[MAX_PTN];
static unsigned int pcount;
static int static_pcount = -1;
+#ifdef CONFIG_FASTBOOT_STORAGE_NAND
static void set_env(char *var, char *val)
{
char *setenv[4] = { "setenv", NULL, NULL, NULL, };
@@ -127,7 +128,6 @@ static void set_env(char *var, char *val)
do_setenv(NULL, 0, 3, setenv);
}
-#ifdef CONFIG_FASTBOOT_STORAGE_NAND
static void save_env(struct fastboot_ptentry *ptn,
char *var, char *val)
{