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>
diff --git a/common/autoboot.c b/common/autoboot.c
index 6124384..beec048 100644
--- a/common/autoboot.c
+++ b/common/autoboot.c
@@ -377,7 +377,7 @@
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);