From patchwork Thu Jul 1 22:23:14 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ohad Ben Cohen X-Patchwork-Id: 109766 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o61MOHlp030248 for ; Thu, 1 Jul 2010 22:24:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933534Ab0GAWXr (ORCPT ); Thu, 1 Jul 2010 18:23:47 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:39213 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933515Ab0GAWXo (ORCPT ); Thu, 1 Jul 2010 18:23:44 -0400 Received: by mail-bw0-f46.google.com with SMTP id 1so1212641bwz.19 for ; Thu, 01 Jul 2010 15:23:44 -0700 (PDT) Received: by 10.204.160.145 with SMTP id n17mr120039bkx.80.1278023023574; Thu, 01 Jul 2010 15:23:43 -0700 (PDT) Received: from localhost.localdomain (93-173-171-226.bb.netvision.net.il [93.173.171.226]) by mx.google.com with ESMTPS id s34sm141464bkk.13.2010.07.01.15.23.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Jul 2010 15:23:42 -0700 (PDT) From: Ohad Ben-Cohen To: Cc: Kanigeri Hari , Ohad Ben-Cohen Subject: [RFC 6/6] omap: enable remoteproc building Date: Fri, 2 Jul 2010 01:23:14 +0300 Message-Id: <1278022994-28476-7-git-send-email-ohad@wizery.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1278022994-28476-1-git-send-email-ohad@wizery.com> References: <1278022994-28476-1-git-send-email-ohad@wizery.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 01 Jul 2010 22:24:19 +0000 (UTC) diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 307f8b0..edb65b3 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -59,6 +59,12 @@ obj-$(CONFIG_OMAP3_EMU) += emu.o obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox_mach.o mailbox_mach-objs := mailbox.o +ifneq ($(CONFIG_OMAP_REMOTE_PROC),) +obj-$(CONFIG_ARCH_OMAP2) += remoteproc24xx.o +obj-$(CONFIG_ARCH_OMAP3) += remoteproc3xxx.o +obj-$(CONFIG_ARCH_OMAP4) += remoteproc44xx.o +endif + iommu-y += iommu2.o iommu-$(CONFIG_ARCH_OMAP3) += omap3-iommu.o diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index e2ea04a..e7d7372 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig @@ -96,6 +96,13 @@ config OMAP_MBOX_FWK Say Y here if you want to use OMAP Mailbox framework support for DSP, IVA1.0 and IVA2 in OMAP1/2/3. +config OMAP_REMOTE_PROC + bool "Remote Processor framework support" + depends on ARCH_OMAP + help + Say Y here if you want to use OMAP Remote Processor framework + support for DSP, Tesla and/or Ducati (OMAP3/4). + config OMAP_IOMMU tristate diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile index 98f0191..bacb5c3 100644 --- a/arch/arm/plat-omap/Makefile +++ b/arch/arm/plat-omap/Makefile @@ -29,5 +29,6 @@ obj-y += $(i2c-omap-m) $(i2c-omap-y) # OMAP mailbox framework obj-$(CONFIG_OMAP_MBOX_FWK) += mailbox.o +obj-$(CONFIG_OMAP_REMOTE_PROC) += remoteproc.o obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o