2012-09-06 03:28:52 +08:00
|
|
|
/* Copyright (c) 2012, The Linux Foundation. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
|
|
* only version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
#ifndef __MACH_COMMON_H
|
|
|
|
#define __MACH_COMMON_H
|
|
|
|
|
2012-11-09 03:40:59 +08:00
|
|
|
extern void msm7x01_timer_init(void);
|
|
|
|
extern void msm7x30_timer_init(void);
|
|
|
|
extern void qsd8x50_timer_init(void);
|
2012-09-06 03:28:52 +08:00
|
|
|
|
2012-09-06 03:28:57 +08:00
|
|
|
extern void msm_map_common_io(void);
|
|
|
|
extern void msm_map_msm7x30_io(void);
|
|
|
|
extern void msm_map_qsd8x50_io(void);
|
|
|
|
|
2013-05-17 02:40:22 +08:00
|
|
|
extern void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size,
|
2012-09-06 03:28:57 +08:00
|
|
|
unsigned int mtype, void *caller);
|
|
|
|
|
2012-09-13 07:01:40 +08:00
|
|
|
extern struct smp_operations msm_smp_ops;
|
|
|
|
extern void msm_cpu_die(unsigned int cpu);
|
2012-09-06 03:28:57 +08:00
|
|
|
|
2013-07-25 04:54:31 +08:00
|
|
|
struct msm_mmc_platform_data;
|
|
|
|
|
|
|
|
extern void msm_add_devices(void);
|
|
|
|
extern void msm_init_irq(void);
|
|
|
|
extern void msm_init_gpio(void);
|
|
|
|
extern int msm_add_sdcc(unsigned int controller,
|
|
|
|
struct msm_mmc_platform_data *plat,
|
|
|
|
unsigned int stat_irq, unsigned long stat_irq_flags);
|
|
|
|
|
|
|
|
#if defined(CONFIG_MSM_SMD) && defined(CONFIG_DEBUG_FS)
|
|
|
|
extern int smd_debugfs_init(void);
|
|
|
|
#else
|
|
|
|
static inline int smd_debugfs_init(void) { return 0; }
|
|
|
|
#endif
|
|
|
|
|
2012-09-06 03:28:52 +08:00
|
|
|
#endif
|