diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-25 18:42:52 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-29 17:57:10 +0800 |
commit | 1627b8fd466be9cb0248be08f39b52a6e80337f1 (patch) | |
tree | eab016f09bbf3488b33fc2175bb8b903dbf65409 /board/freescale/mx51_bbg | |
parent | f5d0383f915bd4d4d211d9958d7819b284276483 (diff) | |
download | u-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/mx51_bbg')
-rw-r--r-- | board/freescale/mx51_bbg/mx51_bbg.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/board/freescale/mx51_bbg/mx51_bbg.c b/board/freescale/mx51_bbg/mx51_bbg.c index ea0c447..325be2a 100644 --- a/board/freescale/mx51_bbg/mx51_bbg.c +++ b/board/freescale/mx51_bbg/mx51_bbg.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> * - * (C) Copyright 2009-2011 Freescale Semiconductor, Inc. + * (C) Copyright 2009-2012 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. @@ -59,7 +59,7 @@ #endif #ifdef CONFIG_ANDROID_RECOVERY -#include "../common/recovery.h" +#include <recovery.h> #include <part.h> #include <ext2fs.h> #include <linux/mtd/mtd.h> @@ -1022,21 +1022,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 = CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC, - .args = CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC, - }, -}; - int check_recovery_cmd_file(void) { disk_partition_t info; |