summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-05-18 11:09:00 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2012-05-21 09:50:11 +0800
commitfac7b6ab0e1093292c986eed053c5eb647956e4c (patch)
tree0568a7aa51ab692c760f53d3678b9b4f4f7b11a1 /common
parent500e69df9073a8bc2773274c1139bb036b1a4195 (diff)
downloadu-boot-imx-fac7b6ab0e1093292c986eed053c5eb647956e4c.zip
u-boot-imx-fac7b6ab0e1093292c986eed053c5eb647956e4c.tar.gz
u-boot-imx-fac7b6ab0e1093292c986eed053c5eb647956e4c.tar.bz2
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 c28f6df..660ff5c 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)
{