xref: /kernel/linux/linux-6.6/include/dt-bindings/soc/rockchip,boot-mode.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/dt-bindings/soc/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ROCKCHIP_BOOT_MODE_H
362306a36Sopenharmony_ci#define __ROCKCHIP_BOOT_MODE_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/*high 24 bits is tag, low 8 bits is type*/
662306a36Sopenharmony_ci#define REBOOT_FLAG		0x5242C300
762306a36Sopenharmony_ci/* normal boot */
862306a36Sopenharmony_ci#define BOOT_NORMAL		(REBOOT_FLAG + 0)
962306a36Sopenharmony_ci/* enter bootloader rockusb mode */
1062306a36Sopenharmony_ci#define BOOT_BL_DOWNLOAD	(REBOOT_FLAG + 1)
1162306a36Sopenharmony_ci/* enter recovery */
1262306a36Sopenharmony_ci#define BOOT_RECOVERY		(REBOOT_FLAG + 3)
1362306a36Sopenharmony_ci /* enter fastboot mode */
1462306a36Sopenharmony_ci#define BOOT_FASTBOOT		(REBOOT_FLAG + 9)
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci#endif
17

Indexes created Thu Nov 07 10:32:03 CST 2024