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_3stack | |
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_3stack')
-rw-r--r-- | board/freescale/mx51_3stack/mx51_3stack.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/board/freescale/mx51_3stack/mx51_3stack.c b/board/freescale/mx51_3stack/mx51_3stack.c index 4c773ad..4822d28 100644 --- a/board/freescale/mx51_3stack/mx51_3stack.c +++ b/board/freescale/mx51_3stack/mx51_3stack.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> * - * (C) Copyright 2009-2010 Freescale Semiconductor, Inc. + * (C) Copyright 2009-2012 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. @@ -43,7 +43,7 @@ #endif #ifdef CONFIG_ANDROID_RECOVERY -#include "../common/recovery.h" +#include <recovery.h> #include <mxc_keyb.h> #include <part.h> #include <ext2fs.h> @@ -612,21 +612,6 @@ int board_init(void) } #ifdef CONFIG_ANDROID_RECOVERY -struct reco_envs supported_reco_envs[BOOT_DEV_NUM] = { - { - .cmd = CONFIG_ANDROID_RECOVERY_BOOTCMD_NAND, - .args = CONFIG_ANDROID_RECOVERY_BOOTARGS_NAND, - }, - { - .cmd = NULL, - .args = NULL, - }, - { - .cmd = CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC, - .args = CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC, - }, -}; - static int check_mmc_recovery_cmd_file(int dev_num, int part_num, char *path) { block_dev_desc_t *dev_desc = NULL; |