blob: 421cf7751a803162a6d6a1c37dda3bb95ccbd681 [file] [log] [blame]
Stephen Boyd4312a7e2012-09-05 12:28:52 -07001/* Copyright (c) 2012, The Linux Foundation. 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#ifndef __MACH_COMMON_H
13#define __MACH_COMMON_H
14
Stephen Warren6bb27d72012-11-08 12:40:59 -070015extern void msm7x01_timer_init(void);
16extern void msm7x30_timer_init(void);
17extern void msm_dt_timer_init(void);
18extern void qsd8x50_timer_init(void);
Stephen Boyd4312a7e2012-09-05 12:28:52 -070019
Stephen Boyd85a9f0f2012-09-05 12:28:57 -070020extern void msm_map_common_io(void);
21extern void msm_map_msm7x30_io(void);
22extern void msm_map_msm8x60_io(void);
23extern void msm_map_msm8960_io(void);
24extern void msm_map_qsd8x50_io(void);
25
Laura Abbott9b971732013-05-16 19:40:22 +010026extern void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
Stephen Boyd85a9f0f2012-09-05 12:28:57 -070027 unsigned int mtype, void *caller);
28
David Brownbe2109e2012-09-12 16:01:40 -070029extern struct smp_operations msm_smp_ops;
30extern void msm_cpu_die(unsigned int cpu);
Stephen Boyd85a9f0f2012-09-05 12:28:57 -070031
Stephen Boyd4312a7e2012-09-05 12:28:52 -070032#endif