diff options
author | Per Fransson <per.xx.fransson@stericsson.com> | 2011-10-11 17:03:48 +0200 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-27 16:08:38 +0200 |
commit | c066cf69064512bcbce7408d27909636d5f9434e (patch) | |
tree | 3a58a80e963d4fee0c3a6118d35e95b8035d92c8 | |
parent | 47e074271195bcd3e3095a945d3b8af0dcbfeb23 (diff) |
ux500: Changed fallback reboot reason
reboot_reason_code() maps unrecognized strings to SW_RESET_NO_ARGUMENT
instead of SW_RESET_CRASH.
ST-Ericsson ID: 365831
Change-Id: I7b364db65a54b7bde3c5394ff7c2e921c4bb1692
Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33723
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/reboot_reasons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/reboot_reasons.c b/arch/arm/mach-ux500/reboot_reasons.c index 93afab59537..365b0c02e16 100644 --- a/arch/arm/mach-ux500/reboot_reasons.c +++ b/arch/arm/mach-ux500/reboot_reasons.c @@ -52,7 +52,7 @@ u16 reboot_reason_code(const char *cmd) } /* No valid reboot reason found */ - return SW_RESET_CRASH; + return SW_RESET_NO_ARGUMENT; } /* |