Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Tang Yuantian | a7787b7 | 2014-11-21 11:17:15 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2014 Freescale Semiconductor, Inc. |
Tang Yuantian | a7787b7 | 2014-11-21 11:17:15 +0800 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __SLEEP_H |
| 7 | #define __SLEEP_H |
| 8 | |
| 9 | #define DCFG_CCSR_CRSTSR_WDRFR (1 << 3) |
| 10 | #define DDR_BUFF_LEN 128 |
| 11 | |
| 12 | /* determine if it is a wakeup from deep sleep */ |
| 13 | bool is_warm_boot(void); |
| 14 | |
| 15 | /* disable console output */ |
| 16 | void fsl_dp_disable_console(void); |
| 17 | |
| 18 | /* clean up everything and jump to kernel */ |
| 19 | int fsl_dp_resume(void); |
| 20 | #endif |