diff options
| author | Subramaniam C.A <subramaniam.ca@ti.com> | 2011-02-14 18:26:20 -0500 |
|---|---|---|
| committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:19:15 -0400 |
| commit | d3892c4a2cdd32268c310b02c8b1d4fc27ca8956 (patch) | |
| tree | e2ff1c71167cef3e7f81d7ce2a2504cff0391e4c /arch | |
| parent | 28369034ea7f83f7fcae712962d4158f4cecd580 (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/Makefile | 8 | ||||
| -rw-r--r-- | arch/arm/plat-omap/Kconfig | 4 | ||||
| -rw-r--r-- | arch/arm/plat-omap/Makefile | 1 |
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 | |||
| 168 | obj-y += $(iommu-m) $(iommu-y) | 168 | obj-y += $(iommu-m) $(iommu-y) |
| 169 | 169 | ||
| 170 | ifeq ($(CONFIG_OMAP_REMOTE_PROC),y) | 170 | ifeq ($(CONFIG_OMAP_REMOTE_PROC),y) |
| 171 | obj-$(CONFIG_ARCH_OMAP2) += remoteproc24xx.o | 171 | #obj-$(CONFIG_ARCH_OMAP2) += remoteproc24xx.o |
| 172 | obj-$(CONFIG_ARCH_OMAP3) += remoteproc3xxx.o | 172 | #obj-$(CONFIG_ARCH_OMAP3) += remoteproc3xxx.o |
| 173 | obj-$(CONFIG_ARCH_OMAP4) += remoteproc44xx.o | 173 | obj-$(CONFIG_ARCH_OMAP4) += remoteproc44xx.o |
| 174 | obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_drv.o | ||
| 175 | obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_dev.o | ||
| 176 | obj-$(CONFIG_MPU_SYSLINK_IPC) += ipu_utility.o | ||
| 174 | endif | 177 | endif |
| 175 | 178 | ||
| 176 | i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o | 179 | i2c-omap-$(CONFIG_I2C_OMAP) := i2c.o |
| @@ -269,6 +272,7 @@ obj-y += $(nand-m) $(nand-y) | |||
| 269 | 272 | ||
| 270 | smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o | 273 | smc91x-$(CONFIG_SMC91X) := gpmc-smc91x.o |
| 271 | obj-y += $(smc91x-m) $(smc91x-y) | 274 | obj-y += $(smc91x-m) $(smc91x-y) |
| 275 | obj-$(CONFIG_ARCH_OMAP4) += hwspinlocks.o | ||
| 272 | 276 | ||
| 273 | smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o | 277 | smsc911x-$(CONFIG_SMSC911X) := gpmc-smsc911x.o |
| 274 | obj-y += $(smsc911x-m) $(smsc911x-y) | 278 | obj-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 | ||
| 148 | config OMAP_USER_DMM | ||
| 149 | tristate | ||
| 150 | select GENERIC_ALLOCATOR | ||
| 151 | |||
| 152 | config OMAP_IOMMU_DEBUG | 148 | config 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 | |||
| 35 | obj-$(CONFIG_OMAP_REMOTE_PROC) += remoteproc.o | 35 | obj-$(CONFIG_OMAP_REMOTE_PROC) += remoteproc.o |
| 36 | 36 | ||
| 37 | obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o | 37 | obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o |
| 38 | obj-$(CONFIG_ARCH_OMAP4) += hwspinlock.o | ||
