diff options
Diffstat (limited to 'arch/arm/mach-qcom/board.c')
-rw-r--r-- | arch/arm/mach-qcom/board.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/mach-qcom/board.c b/arch/arm/mach-qcom/board.c new file mode 100644 index 000000000000..830f69c3a3ce --- /dev/null +++ b/arch/arm/mach-qcom/board.c | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Copyright (c) 2010-2014 The Linux Foundation. All rights reserved. | ||
2 | * | ||
3 | * This program is free software; you can redistribute it and/or modify | ||
4 | * it under the terms of the GNU General Public License version 2 and | ||
5 | * only version 2 as published by the Free Software Foundation. | ||
6 | * | ||
7 | * This program is distributed in the hope that it will be useful, | ||
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
10 | * GNU General Public License for more details. | ||
11 | */ | ||
12 | |||
13 | #include <linux/init.h> | ||
14 | #include <linux/of.h> | ||
15 | #include <linux/of_platform.h> | ||
16 | |||
17 | #include <asm/mach/arch.h> | ||
18 | #include <asm/mach/map.h> | ||
19 | |||
20 | extern struct smp_operations qcom_smp_ops; | ||
21 | |||
22 | static const char * const qcom_dt_match[] __initconst = { | ||
23 | "qcom,msm8660-surf", | ||
24 | "qcom,msm8960-cdp", | ||
25 | NULL | ||
26 | }; | ||
27 | |||
28 | static const char * const apq8074_dt_match[] __initconst = { | ||
29 | "qcom,apq8074-dragonboard", | ||
30 | NULL | ||
31 | }; | ||
32 | |||
33 | DT_MACHINE_START(QCOM_DT, "Qualcomm (Flattened Device Tree)") | ||
34 | .smp = smp_ops(qcom_smp_ops), | ||
35 | .dt_compat = qcom_dt_match, | ||
36 | MACHINE_END | ||
37 | |||
38 | DT_MACHINE_START(APQ_DT, "Qualcomm (Flattened Device Tree)") | ||
39 | .dt_compat = apq8074_dt_match, | ||
40 | MACHINE_END | ||