aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-qcom/board.c
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2013-05-21 19:13:29 -0700
committerKumar Gala <galak@codeaurora.org>2014-02-11 15:00:37 -0600
commit188611af42648299a4785cfe6901cad9ed3ce629 (patch)
tree6011ef3196c6626adb5973e04926c7ef355c14dd /arch/arm/mach-qcom/board.c
parentARM: Introduce CPU_METHOD_OF_DECLARE() for cpu hotplug/smp (diff)
downloadlinux-dev-188611af42648299a4785cfe6901cad9ed3ce629.tar.xz
linux-dev-188611af42648299a4785cfe6901cad9ed3ce629.zip
ARM: qcom: Re-organize platsmp to make it extensible
This makes it easy to add SMP support for new devices by keying on a device node for the release sequence. We add the enable-method property for the cpus property to specify that we want to use the gcc-msm8660 release sequence (which is going to look for the global clock controller device node to map some Scorpion specific power and control registers). We also remove the nr_cpus detection code as that is done generically in the DT CPU detection code. Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org> [sboyd: Port to CPU_METHOD_OF_DECLARE] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-qcom/board.c')
-rw-r--r--arch/arm/mach-qcom/board.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-qcom/board.c b/arch/arm/mach-qcom/board.c
index 830f69c3a3ce..bae617ef0b31 100644
--- a/arch/arm/mach-qcom/board.c
+++ b/arch/arm/mach-qcom/board.c
@@ -11,30 +11,16 @@
*/
#include <linux/init.h>
-#include <linux/of.h>
-#include <linux/of_platform.h>
#include <asm/mach/arch.h>
-#include <asm/mach/map.h>
-
-extern struct smp_operations qcom_smp_ops;
static const char * const qcom_dt_match[] __initconst = {
"qcom,msm8660-surf",
"qcom,msm8960-cdp",
- NULL
-};
-
-static const char * const apq8074_dt_match[] __initconst = {
"qcom,apq8074-dragonboard",
NULL
};
DT_MACHINE_START(QCOM_DT, "Qualcomm (Flattened Device Tree)")
- .smp = smp_ops(qcom_smp_ops),
.dt_compat = qcom_dt_match,
MACHINE_END
-
-DT_MACHINE_START(APQ_DT, "Qualcomm (Flattened Device Tree)")
- .dt_compat = apq8074_dt_match,
-MACHINE_END