drivers: modify the reboot reason for post-xxx
authorluodw1 <luodw1@motorola.com>
Fri, 12 Apr 2019 12:26:40 +0000 (20:26 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:37:01 +0000 (17:37 +0800)
Change-Id: I0131a118df41a5910d4086059204d22899f5efbc
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1336274
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

drivers/soc/samsung/exynos-reboot.c

index a24c61f455ab2e3d0cc21f720798b016e0637916..e1b762415f930243a09ae204ba6b2ad87ebb70de 100644 (file)
@@ -344,11 +344,11 @@ static void exynos_reboot(enum reboot_mode mode, const char *cmd)
                                             restart_reason);
                        }
                } else if (!strncmp(cmd, "post-wdt", 8)) {
-                       __raw_writel(0x77665508, restart_reason);
+                       __raw_writel(0x77665518, restart_reason);
                } else if (!strncmp(cmd, "post-pmicwdt", 12)) {
-                       __raw_writel(0x77665507, restart_reason);
+                       __raw_writel(0x77665517, restart_reason);
                } else if (!strncmp(cmd, "post-panic", 10)) {
-                       __raw_writel(0x77665506, restart_reason);
+                       __raw_writel(0x77665516, restart_reason);
                } else if (!strncmp(cmd, "panic", 5)) {
                        __raw_writel(0x77665505, restart_reason);
                } else {