summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-09-20 18:13:35 -0700
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-09-29 06:10:21 +0200
commitcedd8fa2920779e7fd9fbb1b43d0597f5a965b08 (patch)
tree38b2a2c82c112186c2b2604b8af6d8953d98b851
parentf9461b41fe306ad4eedb6b5d17ea9e43d1ab3f92 (diff)
common: autoboot: do not reset environment
Do not reset environment when using Serial Downloader. This is problematic for some modules where we set environment variables dynamically during boot (e.g. soc). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--common/autoboot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/autoboot.c b/common/autoboot.c
index 1c08c088599..9815eb4256c 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -253,10 +253,7 @@ const char *bootdelay_process(void)
#ifdef is_boot_from_usb
if (is_boot_from_usb()) {
disconnect_from_pc();
- printf("Boot from USB for mfgtools\n");
bootdelay = 0;
- set_default_env("Use default environment for \
- mfgtools\n");
} else {
printf("Normal Boot\n");
}