dt-bindings: soc: rockchip_boot-mode: add charging mode support
authorHuang, Tao <huangtao@rock-chips.com>
Thu, 28 Jul 2016 02:56:35 +0000 (10:56 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Thu, 28 Jul 2016 03:57:19 +0000 (11:57 +0800)
Change-Id: I66d5eb1813583aae37b2d19a2cf18dd9bbaf7125
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
include/dt-bindings/soc/rockchip_boot-mode.h

index a33591b24f888bb68ecaef680daefcdb3e2bf846..cb7a60ab4b89476c304aeaac713e0b678198fccf 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef __ROCKCHIP_BOOT_MODE_H
 #define __ROCKCHIP_BOOT_MODE_H
 
-/*high 24 bits is tag, low 8 bits is type*/
+/* high 24 bits is tag, low 8 bits is type */
 #define REBOOT_FLAG            0x5242C300
 /* normal boot */
 #define BOOT_NORMAL            (REBOOT_FLAG + 0)
@@ -9,6 +9,9 @@
 #define BOOT_LOADER            (REBOOT_FLAG + 1)
 /* enter recovery */
 #define BOOT_RECOVERY          (REBOOT_FLAG + 3)
+/* enter fastboot mode */
 #define BOOT_FASTBOOT          (REBOOT_FLAG + 9)
+/* enter charging mode */
+#define BOOT_CHARGING          (REBOOT_FLAG + 11)
 
 #endif