1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __ROCKCHIP_BOOT_MODE_H 2 #ifndef __ROCKCHIP_BOOT_MODE_H 3 #define __ROCKCHIP_BOOT_MODE_H 3 #define __ROCKCHIP_BOOT_MODE_H 4 4 5 /*high 24 bits is tag, low 8 bits is type*/ 5 /*high 24 bits is tag, low 8 bits is type*/ 6 #define REBOOT_FLAG 0x5242C300 6 #define REBOOT_FLAG 0x5242C300 7 /* normal boot */ 7 /* normal boot */ 8 #define BOOT_NORMAL (REBOOT_FLAG + 8 #define BOOT_NORMAL (REBOOT_FLAG + 0) 9 /* enter bootloader rockusb mode */ 9 /* enter bootloader rockusb mode */ 10 #define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 10 #define BOOT_BL_DOWNLOAD (REBOOT_FLAG + 1) 11 /* enter recovery */ 11 /* enter recovery */ 12 #define BOOT_RECOVERY (REBOOT_FLAG + 12 #define BOOT_RECOVERY (REBOOT_FLAG + 3) 13 /* enter fastboot mode */ 13 /* enter fastboot mode */ 14 #define BOOT_FASTBOOT (REBOOT_FLAG + 14 #define BOOT_FASTBOOT (REBOOT_FLAG + 9) 15 15 16 #endif 16 #endif 17 17
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.