From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SNfp6-0002UN-Ep for barebox@lists.infradead.org; Fri, 27 Apr 2012 07:42:37 +0000 Date: Fri, 27 Apr 2012 09:42:34 +0200 From: Sascha Hauer Message-ID: <20120427074234.GT17184@pengutronix.de> References: <1335459724-25546-1-git-send-email-shc_work@mail.ru> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1335459724-25546-1-git-send-email-shc_work@mail.ru> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 1/2] Disallow to selecting MCI_IMX_ESDHC for i.MX27 & i.MX31 targets To: Alexander Shiyan Cc: barebox@lists.infradead.org On Thu, Apr 26, 2012 at 09:02:03PM +0400, Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > drivers/mci/Kconfig | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig > index b1a678e..6bae586 100644 > --- a/drivers/mci/Kconfig > +++ b/drivers/mci/Kconfig > @@ -54,7 +54,7 @@ config MCI_IMX > > config MCI_IMX_ESDHC > bool "i.MX esdhc" > - depends on ARCH_IMX > + depends on ARCH_IMX && !ARCH_IMX27 && !ARCH_IMX31 No, please don't. Apart from the fact that mx1 and mx21 are missing above it's not worth it. All that can happen is that you can enable support for a device which is not present on your system. Apart from needed binary space there's nothing wrong with that. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox