blob: e1eb4959a2d4f492db0250076b1d0d1e19f4cc19 [file] [log] [blame]
Gregory CLEMENT7444dad2012-08-02 11:17:51 +03001/*
2 * Power Management Service Unit (PMSU) support for Armada 370/XP platforms.
3 *
4 * Copyright (C) 2012 Marvell
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11#ifndef __MACH_MVEBU_PMSU_H
12#define __MACH_MVEBU_PMSU_H
13
14int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr);
Gregory CLEMENT3076cc52014-07-23 15:00:40 +020015int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target,
16 unsigned int crypto_eng_attribute,
17 phys_addr_t resume_addr_reg);
Gregory CLEMENT7444dad2012-08-02 11:17:51 +030018
Gregory CLEMENT898ef3e2014-07-23 15:00:42 +020019void mvebu_v7_pmsu_idle_exit(void);
20
Gregory CLEMENT316fbbc2014-10-30 12:39:41 +010021int armada_370_xp_pmsu_idle_enter(unsigned long deepidle);
Gregory CLEMENT7444dad2012-08-02 11:17:51 +030022#endif /* __MACH_370_XP_PMSU_H */