From patchwork Wed Apr 29 21:50:14 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 20841 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3TLow6l012456 for ; Wed, 29 Apr 2009 21:50:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752374AbZD2VuQ (ORCPT ); Wed, 29 Apr 2009 17:50:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752668AbZD2VuQ (ORCPT ); Wed, 29 Apr 2009 17:50:16 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:63627 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752374AbZD2VuP (ORCPT ); Wed, 29 Apr 2009 17:50:15 -0400 Received: from c-67-160-239-110.hsd1.ca.comcast.net ([67.160.239.110] helo=[127.0.0.1]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from ) id 1LzHfT-0002ur-7R; Wed, 29 Apr 2009 21:50:15 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 67.160.239.110 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+Z3+hKBWq3JfWLu2tG4wdm Subject: [PATCH 2/4] onenand init: Build gpmc-onenand.o based on CONFIG_MTD_ONENAND_OMAP2 To: dedekind@infradead.org, linux-omap@vger.kernel.org, adrian.hunter@nokia.com From: Tony Lindgren Date: Wed, 29 Apr 2009 14:50:14 -0700 Message-ID: <20090429215014.13138.47588.stgit@localhost> In-Reply-To: <20090429214900.13138.54584.stgit@localhost> References: <20090429214900.13138.54584.stgit@localhost> User-Agent: StGit/0.14.3.347.g594a MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Build gpmc-onenand.o based on CONFIG_MTD_ONENAND_OMAP2 Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/Makefile | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 9127a94..9cb2662 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile @@ -55,14 +55,13 @@ obj-$(CONFIG_MACH_OMAP_LDP) += board-ldp.o \ obj-$(CONFIG_MACH_OMAP_APOLLON) += board-apollon.o \ board-apollon-mmc.o \ board-apollon-keys.o -obj-$(CONFIG_MACH_NOKIA_N800) += board-n800.o gpmc-onenand.o \ +obj-$(CONFIG_MACH_NOKIA_N800) += board-n800.o \ board-n800-mmc.o board-n800-bt.o \ board-n800-usb.o \ board-n800-dsp.o \ board-n800-camera.o obj-$(CONFIG_MACH_NOKIA_N810) += board-n810.o obj-$(CONFIG_MACH_NOKIA_RX51) += board-rx51.o \ - gpmc-onenand.o \ board-rx51-flash.o \ board-rx51-sdram.o \ board-rx51-video.o \ @@ -79,6 +78,9 @@ obj-$(CONFIG_MACH_OMAP3_PANDORA) += board-omap3pandora.o \ obj-$(CONFIG_USB_MUSB_SOC) += usb-musb.o obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o +onenand-$(CONFIG_MTD_ONENAND_OMAP2) := gpmc-onenand.o +obj-y += $(onenand-m) $(onenand-y) + ifneq ($(CONFIG_USB_EHCI_HCD),) obj-y += usb-ehci.o endif