mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 14:06:51 +07:00
188611af42
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>
27 lines
829 B
C
27 lines
829 B
C
/* Copyright (c) 2010-2014 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.
|
|
*/
|
|
|
|
#include <linux/init.h>
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
static const char * const qcom_dt_match[] __initconst = {
|
|
"qcom,msm8660-surf",
|
|
"qcom,msm8960-cdp",
|
|
"qcom,apq8074-dragonboard",
|
|
NULL
|
|
};
|
|
|
|
DT_MACHINE_START(QCOM_DT, "Qualcomm (Flattened Device Tree)")
|
|
.dt_compat = qcom_dt_match,
|
|
MACHINE_END
|