sleep.h 419 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2014 Freescale Semiconductor, Inc.
  4. */
  5. #ifndef __SLEEP_H
  6. #define __SLEEP_H
  7. #define DCFG_CCSR_CRSTSR_WDRFR (1 << 3)
  8. #define DDR_BUFF_LEN 128
  9. /* determine if it is a wakeup from deep sleep */
  10. bool is_warm_boot(void);
  11. /* disable console output */
  12. void fsl_dp_disable_console(void);
  13. /* clean up everything and jump to kernel */
  14. int fsl_dp_resume(void);
  15. #endif