From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [RFC 2/2] omap4: board-omap4pcm049: add Phytec phyCORE-OMAP4 Date: Thu, 21 Jul 2011 00:38:34 -0700 Message-ID: <20110721073833.GD5783@atomide.com> References: <20110718084259.GY5783@atomide.com> <1311075927-5562-3-git-send-email-j.weitzel@phytec.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:59916 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752725Ab1GUHig (ORCPT ); Thu, 21 Jul 2011 03:38:36 -0400 Content-Disposition: inline In-Reply-To: <1311075927-5562-3-git-send-email-j.weitzel@phytec.de> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Jan Weitzel Cc: linux-omap@vger.kernel.org * Jan Weitzel [110719 04:40]: > --- a/arch/arm/mach-omap2/Makefile > +++ b/arch/arm/mach-omap2/Makefile > @@ -240,6 +240,10 @@ obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o \ > board-omap4panda-common.o \ > hsmmc.o \ > omap_phy_internal.o > +obj-$(CONFIG_MACH_MACH_PCM049) += board-pcm049.o \ ^^^^ Extra mach above? > + board-omap4panda-common.o \ > + hsmmc.o \ > + omap_phy_internal.o > > obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o \ > omap_phy_internal.o \ Maybe use just board-panda-common.o here instead? And in the Makefile it can be compiled in with something like: obj-$(CONFIG_MACH_OMAP4_PANDA) += board-panda-common.o obj-$(CONFIG_MACH_PCM049) += board-panda-common.o ... obj-$(CONFIG_MACH_OMAP4_PANDA) += board-omap4panda.o obj-$(CONFIG_MACH_PCM049) += board-pcm049.o ... I already posted a patch to get rid of repeating the hsmmc.o for each board using it. > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +#include > +#include > +#include > +#include > +#include > +#include