blob: 1450baa07255d5abb8083d06d5fe9dbbd851ebe7 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Tang Yuantian064f1262014-11-21 11:17:15 +08002/*
3 * Copyright 2014 Freescale Semiconductor, Inc.
Tang Yuantian064f1262014-11-21 11:17:15 +08004 */
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 */
13bool is_warm_boot(void);
14
15/* disable console output */
16void fsl_dp_disable_console(void);
17
18/* clean up everything and jump to kernel */
19int fsl_dp_resume(void);
20#endif