• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * include/linux/amlogic/reboot.h
3  *
4  * Copyright (C) 2017 Amlogic, Inc. All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14  * more details.
15  *
16  */
17 
18 /*******************************************************************/
19 #ifndef LINUX_AMLOGIC_REBOOT_H
20 #define LINUX_AMLOGIC_REBOOT_H
21 
22 #define MESON_COLD_REBOOT 0
23 #define MESON_NORMAL_BOOT 1
24 #define MESON_FACTORY_RESET_REBOOT 2
25 #define MESON_UPDATE_REBOOT 3
26 #define MESON_FASTBOOT_REBOOT 4
27 #define MESON_UBOOT_SUSPEND 5
28 #define MESON_HIBERNATE 6
29 #define MESON_BOOTLOADER_REBOOT 7
30 #define MESON_RPMBP_REBOOT 9
31 #define MESON_QUIESCENT_REBOOT 10
32 #define MESON_CRASH_REBOOT 11
33 #define MESON_KERNEL_PANIC 12
34 #define MESON_RECOVERY_QUIESCENT_REBOOT 14
35 #define MESON_FFV_REBOOT 15
36 
37 #endif
38