marvell_pm.h 692 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (C) 2018 Marvell International Ltd.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. * https://spdx.org/licenses
  6. */
  7. #ifndef MARVELL_PM_H
  8. #define MARVELL_PM_H
  9. #define MVEBU_MAILBOX_MAGIC_NUM PLAT_MARVELL_MAILBOX_MAGIC_NUM
  10. #define MVEBU_MAILBOX_SUSPEND_STATE 0xb007de7c
  11. /* Mailbox entry indexes */
  12. /* Magic number for validity check */
  13. #define MBOX_IDX_MAGIC 0
  14. /* Recovery from suspend entry point */
  15. #define MBOX_IDX_SEC_ADDR 1
  16. /* Suspend state magic number */
  17. #define MBOX_IDX_SUSPEND_MAGIC 2
  18. /* Recovery jump address for ROM bypass */
  19. #define MBOX_IDX_ROM_EXIT_ADDR 3
  20. /* BLE execution start counter value */
  21. #define MBOX_IDX_START_CNT 4
  22. #endif /* MARVELL_PM_H */