summaryrefslogtreecommitdiff
path: root/board/freescale/mx53_loco
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-05-25 18:42:52 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2012-05-29 17:57:10 +0800
commit1627b8fd466be9cb0248be08f39b52a6e80337f1 (patch)
treeeab016f09bbf3488b33fc2175bb8b903dbf65409 /board/freescale/mx53_loco
parentf5d0383f915bd4d4d211d9958d7819b284276483 (diff)
downloadu-boot-imx-1627b8fd466be9cb0248be08f39b52a6e80337f1.zip
u-boot-imx-1627b8fd466be9cb0248be08f39b52a6e80337f1.tar.gz
u-boot-imx-1627b8fd466be9cb0248be08f39b52a6e80337f1.tar.bz2
ENGR00210918-2 cleanup android support, build pass all boards
- move recovery.h to common inlcude place. - move supported_reco_envs to soc related, not board related, - user can change this via configure header, don't needs this in every board file. - pass build for all mx5/mx6 android configs. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'board/freescale/mx53_loco')
-rw-r--r--board/freescale/mx53_loco/mx53_loco.c43
1 files changed, 2 insertions, 41 deletions
diff --git a/board/freescale/mx53_loco/mx53_loco.c b/board/freescale/mx53_loco/mx53_loco.c
index 5f97328..70ec8a5 100644
--- a/board/freescale/mx53_loco/mx53_loco.c
+++ b/board/freescale/mx53_loco/mx53_loco.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2012 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -51,7 +51,7 @@
#endif
#ifdef CONFIG_ANDROID_RECOVERY
-#include "../common/recovery.h"
+#include <recovery.h>
#include <part.h>
#include <ext2fs.h>
#include <linux/mtd/mtd.h>
@@ -739,45 +739,6 @@ int board_init(void)
#ifdef CONFIG_ANDROID_RECOVERY
-struct reco_envs supported_reco_envs[BOOT_DEV_NUM] = {
- {
- .cmd = NULL,
- .args = NULL,
- },
- {
- .cmd = NULL,
- .args = NULL,
- },
- {
- .cmd = NULL,
- .args = NULL,
- },
- {
- .cmd = NULL,
- .args = NULL,
- },
- {
- .cmd = NULL,
- .args = NULL,
- },
- {
- .cmd = NULL,
- .args = NULL,
- },
- {
- .cmd = CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC,
- .args = CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC,
- },
- {
- .cmd = CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC,
- .args = CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC,
- },
- {
- .cmd = NULL,
- .args = NULL,
- },
-};
-
int check_recovery_cmd_file(void)
{
disk_partition_t info;