diff options
author | 2016-08-11 19:57:48 +0200 | |
---|---|---|
committer | 2016-08-11 19:57:48 +0200 | |
commit | a148a05512b62b1d4beb35a76733017f018ba20a (patch) | |
tree | f7ca87a6da2fe8030937096f9599044c61a75329 | |
parent | ARM: dts: rockchip: move rk3288 usbphy under the GRF node (diff) | |
parent | soc: rockchip: add reboot-mode header (diff) | |
download | linux-dev-a148a05512b62b1d4beb35a76733017f018ba20a.tar.xz linux-dev-a148a05512b62b1d4beb35a76733017f018ba20a.zip |
Merge branch 'v4.9-shared/soc-hdr' into v4.9-armsoc/dts32
-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 000000000000..ae7c867e736a --- /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 |