repo: https://github.com/u-boot/u-boot commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91 Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
21 lines
419 B
C
21 lines
419 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
#ifndef __SLEEP_H
|
|
#define __SLEEP_H
|
|
|
|
#define DCFG_CCSR_CRSTSR_WDRFR (1 << 3)
|
|
#define DDR_BUFF_LEN 128
|
|
|
|
/* determine if it is a wakeup from deep sleep */
|
|
bool is_warm_boot(void);
|
|
|
|
/* disable console output */
|
|
void fsl_dp_disable_console(void);
|
|
|
|
/* clean up everything and jump to kernel */
|
|
int fsl_dp_resume(void);
|
|
#endif
|