aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSubramaniam C.A <subramaniam.ca@ti.com>2011-02-14 18:26:20 -0500
committerPaolo Pisati <paolo.pisati@canonical.com>2012-08-17 04:19:15 -0400
commitd3892c4a2cdd32268c310b02c8b1d4fc27ca8956 (patch)
treee2ff1c71167cef3e7f81d7ce2a2504cff0391e4c /arch
parent28369034ea7f83f7fcae712962d4158f4cecd580 (diff)
omap:build- Add build support for remoteproc ipudev and hwspinlock
This patch adds support to build the remoteproc, ipudev and hwspinlock code for OMAP4. This was absent in the linux-omap 2.6.38 code. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Ramesh Gupta G <grgupta@ti.com> Signed-off-by: Simon Que <sque@ti.com> Signed-off-by: Paul Hunt <hunt@ti.com> Signed-off-by: Subramaniam C.A <subramaniam.ca@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/Makefile8
-rw-r--r--arch/arm/plat-omap/Kconfig4
-rw-r--r--arch/arm/plat-omap/Makefile1
3 files changed, 7 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
index 3f5c916f666..249f3a46f21 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -168,9 +168,12 @@ iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
168obj-y += $(iommu-m) $(iommu-y) 168obj-y += $(iommu-m) $(iommu-y)
169 169
170ifeq ($(CONFIG_OMAP_REMOTE_PROC),y) 170ifeq ($(CONFIG_OMAP_REMOTE_PROC),y)
171obj-$(CONFIG_ARCH_OMAP2) += remoteproc24xx.o 171#obj-$(CONFIG_ARCH_OMAP2) += remoteproc24xx.o
172obj-$(CONFIG_ARCH_OMAP3) += remoteproc3xxx.o 172#obj-$(CONFIG_ARCH_OMAP3) += remoteproc3xxx.o
173obj-$(CONFIG_ARCH_OMAP4) += remoteproc44xx.o 173obj-$(CONFIG_ARCH_OMAP4) += remoteproc44xx.o
174obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_drv.o
175obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_dev.o
176obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_utility.o
174endif 177endif
175 178
176i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o 179i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
@@ -269,6 +272,7 @@ obj-y += $(nand-m) $(nand-y)
269 272
270smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o 273smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
271obj-y += $(smc91x-m) $(smc91x-y) 274obj-y += $(smc91x-m) $(smc91x-y)
275obj-$(CONFIG_ARCH_OMAP4) += hwspinlocks.o
272 276
273smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o 277smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
274obj-y += $(smsc911x-m) $(smsc911x-y) 278obj-y += $(smsc911x-m) $(smsc911x-y)
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index cd737735ff7..68bd7f4a905 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -145,10 +145,6 @@ config OMAP_USER_DMM
145 tristate 145 tristate
146 select GENERIC_ALLOCATOR 146 select GENERIC_ALLOCATOR
147 147
148config OMAP_USER_DMM
149 tristate
150 select GENERIC_ALLOCATOR
151
152config OMAP_IOMMU_DEBUG 148config OMAP_IOMMU_DEBUG
153 tristate "Export OMAP IOMMU internals in DebugFS" 149 tristate "Export OMAP IOMMU internals in DebugFS"
154 depends on OMAP_IOMMU && DEBUG_FS 150 depends on OMAP_IOMMU && DEBUG_FS
diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index 98c78a5250b..3321d8fa3df 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -35,3 +35,4 @@ obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox.o
35obj-$(CONFIG_OMAP_REMOTE_PROC) += remoteproc.o 35obj-$(CONFIG_OMAP_REMOTE_PROC) += remoteproc.o
36 36
37obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o 37obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o
38obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o