summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Yan <andy.yan@rock-chips.com>2019-02-22 19:09:15 +0800
committerTao Huang <huangtao@rock-chips.com>2019-03-12 16:11:07 +0800
commit0bb38bcc4dc9fa52533372cf4b9699dcc27e385d (patch)
treec25041d507a9bca6f3b882bcaa87f0c03c073521
parent5cc41272c3d2ab770f1890abeae3f5e1c2127a11 (diff)
dt-bindings: add BOOT_PANIC and BOOT_WATCHDOG
Change-Id: I66e3d7caa7b8591bd5af8d481ba773f5e38e9471 Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
-rw-r--r--include/dt-bindings/soc/rockchip,boot-mode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dt-bindings/soc/rockchip,boot-mode.h b/include/dt-bindings/soc/rockchip,boot-mode.h
index 01e934fbec40..5d6a8e351e54 100644
--- a/include/dt-bindings/soc/rockchip,boot-mode.h
+++ b/include/dt-bindings/soc/rockchip,boot-mode.h
@@ -10,6 +10,10 @@
#define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1)
/* enter recovery */
#define BOOT_RECOVERY (REBOOT_FLAG + 3)
+/* reboot by panic */
+#define BOOT_PANIC (REBOOT_FLAG + 7)
+/* reboot by watchdog */
+#define BOOT_WATCHDOG (REBOOT_FLAG + 8)
/* enter fastboot mode */
#define BOOT_FASTBOOT (REBOOT_FLAG + 9)
/* enter charging mode */