diff options
author | Heiko Stuebner <heiko@sntech.de> | 2016-08-11 18:03:40 (GMT) |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-08-11 18:03:40 (GMT) |
commit | d6aa084242f1cbc66c454fc6a30ef1db8a5e5383 (patch) | |
tree | 2f806b8c6747c383edb457800a7b23dd538ddd0a | |
parent | e7b47caf309727dc39ec94c3ea74bef4b2276faf (diff) | |
parent | 18a21e2c079a01805607bb474b3536a99620d162 (diff) | |
download | linux-d6aa084242f1cbc66c454fc6a30ef1db8a5e5383.tar.xz |
Merge branch 'v4.9-shared/soc-hdr' into v4.9-armsoc/dts64
-rw-r--r-- | include/dt-bindings/soc/rockchip,boot-mode.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/dt-bindings/soc/rockchip,boot-mode.h b/include/dt-bindings/soc/rockchip,boot-mode.h new file mode 100644 index 0000000..ae7c867 --- /dev/null +++ b/include/dt-bindings/soc/rockchip,boot-mode.h @@ -0,0 +1,15 @@ +#ifndef __ROCKCHIP_BOOT_MODE_H +#define __ROCKCHIP_BOOT_MODE_H + +/*high 24 bits is tag, low 8 bits is type*/ +#define REBOOT_FLAG 0x5242C300 +/* normal boot */ +#define BOOT_NORMAL (REBOOT_FLAG + 0) +/* enter bootloader rockusb mode */ +#define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1) +/* enter recovery */ +#define BOOT_RECOVERY (REBOOT_FLAG + 3) + /* enter fastboot mode */ +#define BOOT_FASTBOOT (REBOOT_FLAG + 9) + +#endif |