Add fota as reboot parameter.
To use it, defined MESON_FOTA_REBOOT as 3.
Change-Id: I06e725cf47e6d0de0add7336266679203dcf6a41
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
#ifdef CONFIG_TIZEN
else if (strcmp(cmd, "download") == 0)
reboot_reason = MESON_DOWNLOAD_REBOOT;
+ else if (strcmp(cmd, "fota") == 0)
+ reboot_reason = MESON_FOTA_REBOOT;
#endif
} else {
if (kernel_panic) {
#define MESON_FFV_REBOOT 15
#ifdef CONFIG_TIZEN
+#define MESON_FOTA_REBOOT 3
#define MESON_DOWNLOAD_REBOOT 4
#endif