/*
* Erase environment sector
*/
-int do_erase_env(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]){
+int do_default_env(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]){
char buf[64];
sprintf(buf,
return(run_command(buf, 0));
}
-U_BOOT_CMD(eraseenv, 1, 1, do_erase_env, "erase environment sector in flash\n", NULL);
+U_BOOT_CMD(defenv, 1, 1, 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)