mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
898ef3e9bf
Most of the function related to the PMSU are not specific to the Armada 370 or Armada XP SoCs. They can also be used for most of the other mvebu ARMv7 SoCs, and will actually be used to support cpuidle on Armada 38x. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1406120453-29291-6-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
22 lines
684 B
C
22 lines
684 B
C
/*
|
|
* Power Management Service Unit (PMSU) support for Armada 370/XP platforms.
|
|
*
|
|
* Copyright (C) 2012 Marvell
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __MACH_MVEBU_PMSU_H
|
|
#define __MACH_MVEBU_PMSU_H
|
|
|
|
int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr);
|
|
int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target,
|
|
unsigned int crypto_eng_attribute,
|
|
phys_addr_t resume_addr_reg);
|
|
|
|
void mvebu_v7_pmsu_idle_exit(void);
|
|
|
|
#endif /* __MACH_370_XP_PMSU_H */
|