diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-02-20 10:27:02 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2012-02-27 13:01:09 +0800 |
commit | 1f94eca51ded562db2aae2d1d75e3c7a2a1ba71c (patch) | |
tree | 718b7b859ccc9cc5d80497988c83840ce9ed5a81 | |
parent | f532f697b8ee5a393a255fb9f16b3346ccdd653e (diff) | |
download | u-boot-imx-1f94eca51ded562db2aae2d1d75e3c7a2a1ba71c.zip u-boot-imx-1f94eca51ded562db2aae2d1d75e3c7a2a1ba71c.tar.gz u-boot-imx-1f94eca51ded562db2aae2d1d75e3c7a2a1ba71c.tar.bz2 |
ENGR00174821 booti: fix build error when not configure android partition.
fix build error when not configure android partition.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
-rw-r--r-- | common/cmd_bootm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index bcc5739..ece7f7c 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -1547,6 +1547,8 @@ int do_booti(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) goto fail; } +#ifdef CONFIG_ANDROID_BOOT_PARTITION_MMC +#ifdef CONFIG_ANDROID_RECOVERY_PARTITION_MMC if (!strcmp(ptn, "boot")) partno = CONFIG_ANDROID_BOOT_PARTITION_MMC; if (!strcmp(ptn, "recovery")) @@ -1556,6 +1558,8 @@ int do_booti(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) printf("booti: device don't have such partition:%s\n", ptn); goto fail; } +#endif +#endif #ifdef CONFIG_FASTBOOT fastboot_ptentry the_partition = { |