rockchip,boot-mode.h 413 B

123456789101112131415
  1. #ifndef __ROCKCHIP_BOOT_MODE_H
  2. #define __ROCKCHIP_BOOT_MODE_H
  3. /*high 24 bits is tag, low 8 bits is type*/
  4. #define REBOOT_FLAG 0x5242C300
  5. /* normal boot */
  6. #define BOOT_NORMAL (REBOOT_FLAG + 0)
  7. /* enter bootloader rockusb mode */
  8. #define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1)
  9. /* enter recovery */
  10. #define BOOT_RECOVERY (REBOOT_FLAG + 3)
  11. /* enter fastboot mode */
  12. #define BOOT_FASTBOOT (REBOOT_FLAG + 9)
  13. #endif