diff options
Diffstat (limited to 'src/mainboard/google/snow/mainboard.h')
-rw-r--r-- | src/mainboard/google/snow/mainboard.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/google/snow/mainboard.h b/src/mainboard/google/snow/mainboard.h index 6fe371fc99..63a2c18c63 100644 --- a/src/mainboard/google/snow/mainboard.h +++ b/src/mainboard/google/snow/mainboard.h @@ -35,4 +35,15 @@ enum snow_board_config { int board_get_config(void); +enum { + BOARD_IS_NOT_WAKEUP, // A normal boot (not suspend/resume). + BOARD_WAKEUP_DIRECT, // A wake up event that can be resumed any time. + BOARD_WAKEUP_NEED_CLOCK_RESET, // A wake up event that must be resumed + // only after clock and memory + // controllers are re-initialized. +}; + +int board_get_wakeup_state(void); +void board_wakeup(void); + #endif /* MAINBOARD_H */ |