From: Piotr Dymacz Date: Thu, 20 Mar 2014 14:59:06 +0000 (+0100) Subject: defenv cmd shouldn't be repeatable X-Git-Tag: 2014-11-19~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=38842e60e2135107b737cba9000a46c53c61f212;p=oweals%2Fu-boot_mod.git defenv cmd shouldn't be repeatable --- 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)