summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubramaniam C.A <subramaniam.ca@ti.com>2011-10-25 10:51:15 +0800
committerAndy Green <andy.green@linaro.org>2011-10-25 10:51:15 +0800
commite40c3b1757e0d653d281bb15657fc8a935ddf9eb (patch)
tree4a515268da1b77182f1b1d04624e7b363faf2883
parentb260ee9c36208f1e68502f39466dd796dddee1cb (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>
-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 d60bc9c3daf..9dcae9dde7c 100644
--- a/arch/arm/mach-omap2/Makefile
+++ b/arch/arm/mach-omap2/Makefile
@@ -185,9 +185,12 @@ iommu-$(CONFIG_OMAP_IOMMU) := omap-iommu.o
obj-y += $(iommu-m) $(iommu-y)
ifeq ($(CONFIG_OMAP_REMOTE_PROC),y)
-obj-$(CONFIG_ARCH_OMAP2) += remoteproc24xx.o
-obj-$(CONFIG_ARCH_OMAP3) += remoteproc3xxx.o
+#obj-$(CONFIG_ARCH_OMAP2) += remoteproc24xx.o
+#obj-$(CONFIG_ARCH_OMAP3) += remoteproc3xxx.o
obj-$(CONFIG_ARCH_OMAP4) += remoteproc44xx.o
+obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_drv.o
+obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_dev.o
+obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_utility.o
endif
i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o
@@ -286,6 +289,7 @@ obj-y += $(nand-m) $(nand-y)
smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o
obj-y += $(smc91x-m) $(smc91x-y)
+obj-$(CONFIG_ARCH_OMAP4) += hwspinlocks.o
smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o
obj-y += $(smsc911x-m) $(smsc911x-y)
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 75257f7be51..b2e1e692286 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -158,10 +158,6 @@ config OMAP_USER_DMM
tristate
select GENERIC_ALLOCATOR
-config OMAP_USER_DMM
- tristate
- select GENERIC_ALLOCATOR
-
config OMAP_IOMMU_DEBUG
tristate "Export OMAP IOMMU internals in DebugFS"
depends on OMAP_IOMMU && DEBUG_FS
diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index e177e516de4..e3d3e9e5631 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -34,3 +34,4 @@ obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox.o
obj-$(CONFIG_OMAP_REMOTE_PROC) += remoteproc.o
obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o
+obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o