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