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