summaryrefslogtreecommitdiff
path: root/board/freescale/common
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/common')
-rw-r--r--board/freescale/common/recovery.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/board/freescale/common/recovery.c b/board/freescale/common/recovery.c
index 16e0be4..e63a1d4 100644
--- a/board/freescale/common/recovery.c
+++ b/board/freescale/common/recovery.c
@@ -1,7 +1,7 @@
/*
* Freescale Android Recovery mode checking routing
*
- * Copyright (C) 2010 Freescale Semiconductor, Inc.
+ * Copyright (C) 2010-2012 Freescale Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -83,7 +83,6 @@ void setup_recovery_env(void)
int bootdev = get_boot_device();
boot_cmd = supported_reco_envs[bootdev].cmd;
- boot_args = supported_reco_envs[bootdev].args;
if (boot_cmd == NULL) {
printf("Unsupported bootup device for recovery\n");
@@ -92,13 +91,6 @@ void setup_recovery_env(void)
printf("setup env for recovery..\n");
- env = getenv("bootargs_android_recovery");
- /* Set env to recovery mode */
- /* Only set recovery env when these env not exist, give user a
- * chance to change their recovery env */
- if (!env)
- setenv("bootargs_android_recovery", boot_args);
-
env = getenv("bootcmd_android_recovery");
if (!env)
setenv("bootcmd_android_recovery", boot_cmd);