diff options
author | Rohit Vaswani <rvaswani@codeaurora.org> | 2013-05-21 19:13:29 -0700 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-02-11 15:00:37 -0600 |
commit | 188611af42648299a4785cfe6901cad9ed3ce629 (patch) | |
tree | 6011ef3196c6626adb5973e04926c7ef355c14dd /arch/arm/mach-qcom/board.c | |
parent | 6c3ff8b11a16ec69199ab85b74a5fae6d9c59db7 (diff) | |
download | op-kernel-dev-188611af42648299a4785cfe6901cad9ed3ce629.zip op-kernel-dev-188611af42648299a4785cfe6901cad9ed3ce629.tar.gz |
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.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/mach-qcom/board.c b/arch/arm/mach-qcom/board.c index 830f69c..bae617e 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 |