blob: 22341921ab3732dfe7aea43aff4a97d71158d302 [file] [log] [blame]
Maheshkumar Sivasubramanian8ccc16e2011-10-25 15:59:57 -06001/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13#ifndef _ARCH_ARM_MACH_MSM_PM_BOOT_H
14#define _ARCH_ARM_MACH_MSM_PM_BOOT_H
15
16enum {
17 MSM_PM_BOOT_CONFIG_TZ = 0,
18 MSM_PM_BOOT_CONFIG_RESET_VECTOR = 1,
19};
20
Chintan Pandya12607882011-11-25 19:21:33 +053021#ifdef CONFIG_PM
Maheshkumar Sivasubramanian8ccc16e2011-10-25 15:59:57 -060022int __init msm_pm_boot_init(int boot_config, uint32_t* address);
Chintan Pandya12607882011-11-25 19:21:33 +053023#else
24static inline int __init msm_pm_boot_init(int boot_config, uint32_t* address)
25{
26 return 0;
27}
28#endif
Maheshkumar Sivasubramanian8ccc16e2011-10-25 15:59:57 -060029void msm_pm_boot_config_before_pc(unsigned int cpu, unsigned long entry);
30void msm_pm_boot_config_after_pc(unsigned int cpu);
31
32#endif