summaryrefslogtreecommitdiff
path: root/board/freescale/mx51_3stack
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2010-09-15 22:29:07 +0800
committerTerry Lv <r65388@freescale.com>2010-09-20 13:25:43 +0800
commit71ba5d33991342c566b92961b5c98e99861e20c0 (patch)
treeea4f11cddc74960823c08a2811c92ba48bd3b038 /board/freescale/mx51_3stack
parent6537dffd192344d8c786a037bce9f41db5448fc9 (diff)
downloadu-boot-imx-71ba5d33991342c566b92961b5c98e99861e20c0.zip
u-boot-imx-71ba5d33991342c566b92961b5c98e99861e20c0.tar.gz
u-boot-imx-71ba5d33991342c566b92961b5c98e99861e20c0.tar.bz2
ENGR00131578: Add android recovery mode support for mx53
Add android recovery mode support for mx53. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board/freescale/mx51_3stack')
-rw-r--r--board/freescale/mx51_3stack/mx51_3stack.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/freescale/mx51_3stack/mx51_3stack.c b/board/freescale/mx51_3stack/mx51_3stack.c
index 77da23c..4c773ad 100644
--- a/board/freescale/mx51_3stack/mx51_3stack.c
+++ b/board/freescale/mx51_3stack/mx51_3stack.c
@@ -29,7 +29,6 @@
#include <asm/arch/mx51_pins.h>
#include <asm/arch/iomux.h>
#include <i2c.h>
-#include <asm/arch/keypad.h>
#include "board-mx51_3stack.h"
#include <netdev.h>
@@ -613,7 +612,7 @@ int board_init(void)
}
#ifdef CONFIG_ANDROID_RECOVERY
-struct reco_envs supported_reco_envs[END_BOOT] = {
+struct reco_envs supported_reco_envs[BOOT_DEV_NUM] = {
{
.cmd = CONFIG_ANDROID_RECOVERY_BOOTCMD_NAND,
.args = CONFIG_ANDROID_RECOVERY_BOOTARGS_NAND,
@@ -759,7 +758,7 @@ static int check_nand_recovery_cmd_file(char *mtd_part_name,
return filelen;
}
-static int check_recovery_cmd_file(void)
+int check_recovery_cmd_file(void)
{
int if_exist = 0;
char *env = NULL;