From cedd8fa2920779e7fd9fbb1b43d0597f5a965b08 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 20 Sep 2016 18:13:35 -0700 Subject: 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 Acked-by: Marcel Ziswiler --- common/autoboot.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/autoboot.c b/common/autoboot.c index 1c08c08859..9815eb4256 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"); } -- cgit v1.2.3