blob: 8f16607557e20063886dc14a6c7fdb1011095f10 [file] [log] [blame]
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +03001/*
2 * Copyright (C) 2018 Marvell International Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 * https://spdx.org/licenses
6 */
7
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00008#ifndef MARVELL_PM_H
9#define MARVELL_PM_H
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030010
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000026#endif /* MARVELL_PM_H */