From b997d1db8cae56cdc647f04523da0aa03e03948f 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/soc/rockchip,boot-mode.h b/include/dt-bindings/soc/rockchip,boot-mode.h index a3e52a703f27..1436e1d32619 100644 --- a/include/dt-bindings/soc/rockchip,boot-mode.h +++ b/include/dt-bindings/soc/rockchip,boot-mode.h @@ -10,7 +10,11 @@ #define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1) /* enter recovery */ #define BOOT_RECOVERY (REBOOT_FLAG + 3) - /* enter fastboot mode */ +/* 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 */ #define BOOT_CHARGING (REBOOT_FLAG + 11)