aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR Sricharan <r.sricharan@ti.com>2013-02-07 05:51:46 -0500
committerRajendra Nayak <rnayak@ti.com>2013-08-13 07:28:16 -0400
commit8dd21c93197cc465ae87e142435b3f7f262eade9 (patch)
treebb91b5c553ad5696ab5a89811b988e17dcd4c4d1
parentdebcd1f81f9ef632a24b7b7a9367363fa62fbceb (diff)
ARM: DRA7: Add the build support in omap2plus
Now that all the needed pieces for DRA7 based SoCs' is present, enable the build support in omap2plus_defconfig Signed-off-by: R Sricharan <r.sricharan@ti.com> Signed-off-by: Rajendra Nayak <rnayak@ti.com>
-rw-r--r--arch/arm/configs/omap2plus_defconfig1
-rw-r--r--arch/arm/mach-omap2/Kconfig10
-rw-r--r--arch/arm/plat-omap/Kconfig2
3 files changed, 11 insertions, 2 deletions
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 5339e6a4d639..1da7cf9a2a57 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -306,3 +306,4 @@ CONFIG_TI_DAVINCI_MDIO=y
306CONFIG_TI_DAVINCI_CPDMA=y 306CONFIG_TI_DAVINCI_CPDMA=y
307CONFIG_TI_CPSW=y 307CONFIG_TI_CPSW=y
308CONFIG_AT803X_PHY=y 308CONFIG_AT803X_PHY=y
309CONFIG_SOC_DRA7XX=y
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index fc6ec23b0109..740f41b08b74 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -118,7 +118,7 @@ config ARCH_OMAP2PLUS_TYPICAL
118 select I2C 118 select I2C
119 select I2C_OMAP 119 select I2C_OMAP
120 select MENELAUS if ARCH_OMAP2 120 select MENELAUS if ARCH_OMAP2
121 select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5 121 select NEON if CPU_V7
122 select PM_RUNTIME 122 select PM_RUNTIME
123 select REGULATOR 123 select REGULATOR
124 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 124 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
@@ -135,6 +135,14 @@ config SOC_HAS_REALTIME_COUNTER
135 depends on SOC_OMAP5 || SOC_DRA7XX 135 depends on SOC_OMAP5 || SOC_DRA7XX
136 default y 136 default y
137 137
138config SOC_DRA7XX
139 bool "TI DRA7XX"
140 select ARM_ARCH_TIMER
141 select CPU_V7
142 select ARM_GIC
143 select HAVE_SMP
144 select COMMON_CLK
145
138comment "OMAP Core Type" 146comment "OMAP Core Type"
139 depends on ARCH_OMAP2 147 depends on ARCH_OMAP2
140 148
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index f82bae2171eb..436ea97074cd 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -106,7 +106,7 @@ config OMAP_32K_TIMER
106 This timer saves power compared to the OMAP_MPU_TIMER, and has 106 This timer saves power compared to the OMAP_MPU_TIMER, and has
107 support for no tick during idle. The 32KHz timer provides less 107 support for no tick during idle. The 32KHz timer provides less
108 intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is 108 intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
109 currently only available for OMAP16XX, 24XX, 34XX and OMAP4/5. 109 currently only available for OMAP16XX, 24XX, 34XX, OMAP4/5 and DRA7XX.
110 110
111 On OMAP2PLUS this value is only used for CONFIG_HZ and 111 On OMAP2PLUS this value is only used for CONFIG_HZ and
112 CLOCK_TICK_RATE compile time calculation. 112 CLOCK_TICK_RATE compile time calculation.