Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef __ROCKCHIP_BOOT_MODE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define __ROCKCHIP_BOOT_MODE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) /*high 24 bits is tag, low 8 bits is type*/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #define REBOOT_FLAG		0x5242C300
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) /* normal boot */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define BOOT_NORMAL		(REBOOT_FLAG + 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) /* enter bootloader rockusb mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define BOOT_BL_DOWNLOAD	(REBOOT_FLAG + 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) /* enter recovery */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #define BOOT_RECOVERY		(REBOOT_FLAG + 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) /* reboot by panic */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define BOOT_PANIC		(REBOOT_FLAG + 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) /* reboot by watchdog */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define BOOT_WATCHDOG		(REBOOT_FLAG + 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) /* enter fastboot mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #define BOOT_FASTBOOT		(REBOOT_FLAG + 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) /* enter charging mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define BOOT_CHARGING		(REBOOT_FLAG + 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) /* enter usb mass storage mode */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define BOOT_UMS		(REBOOT_FLAG + 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) #endif