From 38842e60e2135107b737cba9000a46c53c61f212 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Thu, 20 Mar 2014 15:59:06 +0100 Subject: [PATCH] defenv cmd shouldn't be repeatable --- u-boot/common/cmd_custom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u-boot/common/cmd_custom.c b/u-boot/common/cmd_custom.c index 9ac7900..59f5981 100755 --- a/u-boot/common/cmd_custom.c +++ b/u-boot/common/cmd_custom.c @@ -234,7 +234,7 @@ int do_default_env(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]){ return(rcode); } -U_BOOT_CMD(defenv, 1, 1, do_default_env, "reset environment variables to their default values\n", NULL); +U_BOOT_CMD(defenv, 1, 0, do_default_env, "reset environment variables to their default values\n", NULL); #endif /* if defined(CONFIG_FOR_8DEVICES_CARAMBOLA2) || defined(CONFIG_FOR_DRAGINO_V2) */ #if defined(PLL_IN_FLASH_MAGIC_OFFSET) -- 2.25.1