recovery: add comment to erase u-boot enviroment
This commit is contained in:
parent
bedd2f78d2
commit
d0ae6edf65
|
@ -90,6 +90,7 @@ static int do_run_recovery(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||||
BLINK_LED(5);
|
BLINK_LED(5);
|
||||||
//status_led_set(0, STATUS_LED_ON);
|
//status_led_set(0, STATUS_LED_ON);
|
||||||
|
|
||||||
|
/* erase u-boot enviroment */
|
||||||
rc = run_command("erase 0x9f040000 +0x10000", 0);
|
rc = run_command("erase 0x9f040000 +0x10000", 0);
|
||||||
if (rc < 0)
|
if (rc < 0)
|
||||||
return env_failed();
|
return env_failed();
|
||||||
|
|
Loading…
Reference in New Issue