[PATCH 1/2] Disallow to selecting MCI_IMX_ESDHC for i.MX27 & i.MX31 targets

Sascha Hauer s.hauer at pengutronix.de
Fri Apr 27 03:42:34 EDT 2012


On Thu, Apr 26, 2012 at 09:02:03PM +0400, Alexander Shiyan wrote:
> 
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
> ---
>  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 |



More information about the barebox mailing list