]>
Commit | Line | Data |
---|---|---|
d0e190c3 | 1 | /* Copyright (c) 2010-2012,2013 The Linux Foundation. All rights reserved. |
c446407c SB |
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> | |
d0e190c3 | 14 | #include <linux/of.h> |
c446407c SB |
15 | #include <linux/of_platform.h> |
16 | ||
c446407c | 17 | #include <asm/mach/arch.h> |
34606f38 | 18 | #include <asm/mach/map.h> |
c446407c SB |
19 | |
20 | #include "common.h" | |
21 | ||
d0e190c3 RV |
22 | static const char * const msm_dt_match[] __initconst = { |
23 | "qcom,msm8660-fluid", | |
24 | "qcom,msm8660-surf", | |
c446407c SB |
25 | "qcom,msm8960-cdp", |
26 | NULL | |
27 | }; | |
28 | ||
9857a753 RV |
29 | static const char * const apq8074_dt_match[] __initconst = { |
30 | "qcom,apq8074-dragonboard", | |
31 | NULL | |
32 | }; | |
33 | ||
d0e190c3 | 34 | DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)") |
25468fe8 | 35 | .smp = smp_ops(msm_smp_ops), |
d0e190c3 | 36 | .dt_compat = msm_dt_match, |
c446407c | 37 | MACHINE_END |
9857a753 RV |
38 | |
39 | DT_MACHINE_START(APQ_DT, "Qualcomm MSM (Flattened Device Tree)") | |
40 | .dt_compat = apq8074_dt_match, | |
41 | MACHINE_END |