rockchip,boot-mode.h revision 1.1.1.1
1/* $NetBSD: rockchip,boot-mode.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $ */ 2 3#ifndef __ROCKCHIP_BOOT_MODE_H 4#define __ROCKCHIP_BOOT_MODE_H 5 6/*high 24 bits is tag, low 8 bits is type*/ 7#define REBOOT_FLAG 0x5242C300 8/* normal boot */ 9#define BOOT_NORMAL (REBOOT_FLAG + 0) 10/* enter bootloader rockusb mode */ 11#define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1) 12/* enter recovery */ 13#define BOOT_RECOVERY (REBOOT_FLAG + 3) 14 /* enter fastboot mode */ 15#define BOOT_FASTBOOT (REBOOT_FLAG + 9) 16 17#endif 18