Andy Yan | 18a21e2 | 2016-07-06 21:28:34 +0800 | [diff] [blame] | 1 | #ifndef __ROCKCHIP_BOOT_MODE_H |
2 | #define __ROCKCHIP_BOOT_MODE_H | ||||
3 | |||||
4 | /*high 24 bits is tag, low 8 bits is type*/ | ||||
5 | #define REBOOT_FLAG 0x5242C300 | ||||
6 | /* normal boot */ | ||||
7 | #define BOOT_NORMAL (REBOOT_FLAG + 0) | ||||
8 | /* enter bootloader rockusb mode */ | ||||
9 | #define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1) | ||||
10 | /* enter recovery */ | ||||
11 | #define BOOT_RECOVERY (REBOOT_FLAG + 3) | ||||
12 | /* enter fastboot mode */ | ||||
13 | #define BOOT_FASTBOOT (REBOOT_FLAG + 9) | ||||
14 | |||||
15 | #endif |