summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include
diff options
context:
space:
mode:
authorChris Kimber <chris.kimber@stericsson.com>2011-09-12 16:10:16 +0100
committerLee Jones <lee.jones@linaro.org>2012-01-05 10:11:30 +0000
commit91548803c2fef56271283eb19cc94e114fc17396 (patch)
tree8f56ca46c36307a1f57ad356c8e8c39ae9aa9475 /arch/arm/mach-ux500/include
parent9fa4228a6a0a22b708343f0079eb5101e09fa096 (diff)
ARM: u8500: Update reboot reasons
Make it possible to determine between a cold and warm start so the appropriate charging action can be taken. ST-Ericsson ID: 356867 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ibb979fa45753d85bc89f6319ee318d7b6893fdc6 Signed-off-by: Chris Kimber <chris.kimber@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30745 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include')
-rw-r--r--arch/arm/mach-ux500/include/mach/reboot_reasons.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/reboot_reasons.h b/arch/arm/mach-ux500/include/mach/reboot_reasons.h
index a88f971a9f6..a8d816253e6 100644
--- a/arch/arm/mach-ux500/include/mach/reboot_reasons.h
+++ b/arch/arm/mach-ux500/include/mach/reboot_reasons.h
@@ -20,11 +20,12 @@
* location before resetting. These values are exposed through a sysfs
* entry under /sys/socinfo, see mach-ux500/cpu-db8500.c
*/
-#define SW_RESET_NO_ARGUMENT 0x0
+#define SW_RESET_NO_ARGUMENT 0xBEEF
#define SW_RESET_FACTORY_RESET 0x4242
#define SW_RESET_CRASH 0xDEAD
#define SW_RESET_NORMAL 0xc001
#define SW_RESET_CHARGING 0xCAFE
+#define SW_RESET_COLDSTART 0x0
/*
* The array reboot_reasons[] is used when you want to map a string to a reboot