aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2014-01-02 13:23:48 -0500
committerOlof Johansson <olof@lixom.net>2014-01-02 13:23:48 -0500
commit63df151aa1037e4f4e71ec009a3b233ee2cc1dea (patch)
treea886c62b097a88b3ff3fc2a394177a861b373c1a /arch/arm/mach-msm
parentdd7d395883adce2e623e4ef0af7598e6987685d9 (diff)
parent17d0900c95622c0bb672bbd7115ae228cfc3cd21 (diff)
Merge branch 'qcom/soc' into next/soc
* qcom/soc: ARM: msm: Simplify ARCH_MSM_DT config ARM: msm: Add support for MSM8974 SoC ARM: msm: trout: fix uninit var warning Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/Kconfig15
-rw-r--r--arch/arm/mach-msm/board-trout.c12
2 files changed, 19 insertions, 8 deletions
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index 2586c2865874..702553b96137 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -44,6 +44,7 @@ endchoice
44 44
45config ARCH_MSM8X60 45config ARCH_MSM8X60
46 bool "MSM8X60" 46 bool "MSM8X60"
47 select ARCH_MSM_DT
47 select ARM_GIC 48 select ARM_GIC
48 select CPU_V7 49 select CPU_V7
49 select GPIO_MSM_V2 50 select GPIO_MSM_V2
@@ -52,15 +53,25 @@ config ARCH_MSM8X60
52 53
53config ARCH_MSM8960 54config ARCH_MSM8960
54 bool "MSM8960" 55 bool "MSM8960"
56 select ARCH_MSM_DT
55 select ARM_GIC 57 select ARM_GIC
56 select CPU_V7 58 select CPU_V7
57 select HAVE_SMP 59 select HAVE_SMP
58 select GPIO_MSM_V2 60 select GPIO_MSM_V2
59 select MSM_SCM if SMP 61 select MSM_SCM if SMP
60 62
63config ARCH_MSM8974
64 bool "MSM8974"
65 select ARCH_MSM_DT
66 select ARM_GIC
67 select CPU_V7
68 select HAVE_ARM_ARCH_TIMER
69 select HAVE_SMP
70 select MSM_SCM if SMP
71 select USE_OF
72
61config ARCH_MSM_DT 73config ARCH_MSM_DT
62 def_bool y 74 bool
63 depends on (ARCH_MSM8X60 || ARCH_MSM8960)
64 select SPARSE_IRQ 75 select SPARSE_IRQ
65 select USE_OF 76 select USE_OF
66 77
diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c
index ccf6621bc664..015d544aa017 100644
--- a/arch/arm/mach-msm/board-trout.c
+++ b/arch/arm/mach-msm/board-trout.c
@@ -13,6 +13,7 @@
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 * 14 *
15 */ 15 */
16#define pr_fmt(fmt) "%s: " fmt, __func__
16 17
17#include <linux/kernel.h> 18#include <linux/kernel.h>
18#include <linux/init.h> 19#include <linux/init.h>
@@ -68,12 +69,11 @@ static void __init trout_init(void)
68 69
69 platform_add_devices(devices, ARRAY_SIZE(devices)); 70 platform_add_devices(devices, ARRAY_SIZE(devices));
70 71
71#ifdef CONFIG_MMC 72 if (IS_ENABLED(CONFIG_MMC)) {
72 rc = trout_init_mmc(system_rev); 73 rc = trout_init_mmc(system_rev);
73 if (rc) 74 if (rc)
74 printk(KERN_CRIT "%s: MMC init failure (%d)\n", __func__, rc); 75 pr_crit("MMC init failure (%d)\n", rc);
75#endif 76 }
76
77} 77}
78 78
79static struct map_desc trout_io_desc[] __initdata = { 79static struct map_desc trout_io_desc[] __initdata = {