summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/common.h
Commit message (Collapse)AuthorAgeFilesLines
* ARM: msm: Move core.h contents into common.hDavid Brown2012-09-221-0/+2
| | | | | | | | | No real need to have a separate core.h from the common.h file. Fold these two prototypes into the common header file. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David Brown <davidb@codeaurora.org> Signed-off-by: Olof Johansson <olof@lixom.net>
* ARM: msm: Remove non-DT targets from 8960Stephen Boyd2012-09-131-1/+0
| | | | | | | | Remove the non-DT targets supported by 8960. This makes 8960 a device tree only target. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
* ARM: msm: Move io mapping prototypes to common.hStephen Boyd2012-09-131-0/+10
| | | | | | | | | Consolidate the handful of iomapping functions into common.h so that board files don't need to include mach/msm_iomap.h if they don't need static virtual mapping addresses. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
* ARM: msm: Make 8660 a DT only targetStephen Boyd2012-09-131-1/+0
| | | | | | | | We don't plan to support anything besides devicetree on these targets so remove all other machine support. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
* ARM: msm: Add DT support to msm_timerStephen Boyd2012-09-131-0/+1
| | | | | | | | | Add support to setup the MSM timer via information obtained from the devicetree. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> [davidb@codeaurora.org: Remove leading zeros] Signed-off-by: David Brown <davidb@codeaurora.org>
* ARM: msm: Allow timer.c to compile on multiple targetsStephen Boyd2012-09-131-0/+21
The timer code relies on #defines from mach/iomap.h, cpu_is_*() checks, and a global irq #define. All this makes this file impossible to compile in a mult-target build. Therefore, make a sys_timer struct for each SoC so that machine descriptors can reference the correct timer. Then go through and replace all the defines with raw values that are passed to a common initialization function. This paves the way to adding DT support to this code as well as allows us to compile this file on multiple targets at the same time. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
OpenPOWER on IntegriCloud