From 6cc115dc594df137c54196b0336652d8011b3ef4 Mon Sep 17 00:00:00 2001 From: Antony Arun T Date: Fri, 19 Jul 2019 16:13:50 +0530 Subject: [PATCH] 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 --- common/autoboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/autoboot.c b/common/autoboot.c index 6124384fd6..beec048395 100644 --- a/common/autoboot.c +++ b/common/autoboot.c @@ -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);