From 0bb38bcc4dc9fa52533372cf4b9699dcc27e385d Mon Sep 17 00:00:00 2001 From: Andy Yan Date: Fri, 22 Feb 2019 19:09:15 +0800 Subject: [PATCH] dt-bindings: add BOOT_PANIC and BOOT_WATCHDOG Change-Id: I66e3d7caa7b8591bd5af8d481ba773f5e38e9471 Signed-off-by: Andy Yan --- include/dt-bindings/soc/rockchip,boot-mode.h | 4 ++++ 1 file changed, 4 insertions(+) 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 */