reboot_reason = MESON_CRASH_REBOOT;
else if (strcmp(cmd, "uboot_suspend") == 0)
reboot_reason = MESON_UBOOT_SUSPEND;
+ else if (strcmp(cmd, "quiescent") == 0 ||
+ strcmp(cmd, ",quiescent") == 0)
+ reboot_reason = MESON_QUIESCENT_REBOOT;
+ else if (strcmp(cmd, "recovery,quiescent") == 0 ||
+ strcmp(cmd, "factory_reset,quiescent") == 0 ||
+ strcmp(cmd, "quiescent,recovery") == 0 ||
+ strcmp(cmd, "quiescent,factory_reset") == 0)
+ reboot_reason = MESON_RECOVERY_QUIESCENT_REBOOT;
} else {
if (kernel_panic) {
if (strcmp(kernel_panic, "kernel_panic") == 0) {
#define MESON_HIBERNATE 6
#define MESON_BOOTLOADER_REBOOT 7
#define MESON_RPMBP_REBOOT 9
+#define MESON_QUIESCENT_REBOOT 10
#define MESON_CRASH_REBOOT 11
#define MESON_KERNEL_PANIC 12
+#define MESON_RECOVERY_QUIESCENT_REBOOT 14