This change allows reset device environment to default without using u-boot
console, which is useful for system developers.
Signed-off-by: Inha Song <ideal.song@samsung.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
{"UMS", "ums"},
{"DFU", "dfu"},
{"GPT", "gpt"},
+ {"ENV", "env"},
{"EXIT", ""},
};
"mass storage",
"firmware update",
"restore",
+ "default",
"and run normal boot"
};
"ums 0 mmc 0",
"dfu 0 mmc 0",
"gpt write mmc 0 $partitions",
+ "env default -a; saveenv",
"",
};
BOOT_MODE_UMS,
BOOT_MODE_DFU,
BOOT_MODE_GPT,
+ BOOT_MODE_ENV,
BOOT_MODE_EXIT,
};