diff options
author | Arun Murthy <arun.murthy@stericsson.com> | 2011-11-11 11:14:39 +0530 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:02:32 +0200 |
commit | 7789bec07e3b4686a5e88634e28512100b403ea7 (patch) | |
tree | e0925934f3ee2416527ec20406f8700ffc34341c /arch/arm/mach-ux500/reboot_reasons.c | |
parent | 16e340467b0c309c2b6e5e6020103fe669fd2e01 (diff) |
mach-ux500: Add a reset reson for exit for charge only mode
When exiting from charge only mode, the system will be reset and upon
next boot in order to stop the system from re-entering into charge
only mode, the reason reason should provide reason as charge only
mode exited.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 362951
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I05781c768f747191b3085b96177a85c68f71ded9
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37396
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/reboot_reasons.c')
-rw-r--r-- | arch/arm/mach-ux500/reboot_reasons.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/reboot_reasons.c b/arch/arm/mach-ux500/reboot_reasons.c index 2853b740440..e6b2be5e136 100644 --- a/arch/arm/mach-ux500/reboot_reasons.c +++ b/arch/arm/mach-ux500/reboot_reasons.c @@ -19,6 +19,7 @@ struct reboot_reason reboot_reasons[] = { {"charging", SW_RESET_CHARGING}, {"coldstart", SW_RESET_COLDSTART}, {"none", SW_RESET_NO_ARGUMENT}, /* Normal Boot */ + {"chgonly-exit", SW_RESET_CHGONLY_EXIT}, /* Exit Charge Only Mode */ }; unsigned int reboot_reasons_size = ARRAY_SIZE(reboot_reasons); |