ipq6018: reset: fixing reset flow after dump collection into flash

in ipq6018, instead of going for warm reset after collecting dump into flash,
checking wonce register and deciding whether to go for warm/cold reboot.

Change-Id: I6537d7455e6922467b4727f95e62ad0f2fc54295
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This commit is contained in:
Antony Arun T 2019-07-19 16:13:50 +05:30
parent 32555c232e
commit 6cc115dc59

View file

@ -377,7 +377,7 @@ void autoboot_command(const char *s)
s = getenv("dump_minimal");
if (s) {
do_dumpqca_minimal_data(s); /* write core dump data to flash */
run_command("reset", 0);
reset_board();
}
else
dump_func(FULL_DUMP);