sleep.h 419 B

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