[PATCH] MTD/GPMI : select more modules for GPMI by default

Shawn Guo shawn.guo at freescale.com
Sat Dec 31 02:24:42 EST 2011


On Sat, Dec 31, 2011 at 01:48:00PM +0800, Huang Shijie wrote:
> 于 2011年12月31日 13:44, Shawn Guo 写道:
> >>+	select MXS_DMA
> >We should probably have it depend on MXS_DMA rather than select it.
> IMHO, I think `select` is better. :)
> The MXS_DMA not only service for NAND, but SD card, etc.
> In logic, the GPMI does not depends on MXS_DMA, the GPMI may use
> SDMA too(just in logically).
> 
Here is what Documentation/kbuild/kconfig-language.txt tells:

        select should be used with care. select will force
        a symbol to a value without visiting the dependencies.
        By abusing select you are able to select a symbol FOO even
        if FOO depends on BAR that is not set.
        In general use select only for non-visible symbols
        (no prompts anywhere) and for symbols with no dependencies.
        That will limit the usefulness but on the other hand avoid
        the illegal configurations all over.

-- 
Regards,
Shawn




More information about the linux-mtd mailing list