[PATCH] mtd: mxc_nand: Select the driver via ARCH_MXC

Fabio Estevam festevam at gmail.com
Tue Jul 3 21:02:58 EDT 2012


Hi Uwe,

On Tue, Jul 3, 2012 at 4:03 AM, Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:

> the obvious alternative is to select IMX_HAVE_PLATFORM_MXC_NAND for the
> dt-based machines, too.

That would cause platform-mxc_nand.c to be build, which is something
that a dt machine does not need.

>
> Or make it:
>
>         depends on IMX_HAVE_PLATFORM_MXC_NAND || DT || COMPILE_COVERAGE

What about
"depends on IMX_HAVE_PLATFORM_MXC_NAND || CONFIG_OF" ?

> (COMPILE_COVERAGE doesn't exist AFAIK, but IMHO it's sensible to
> introduce it.)

Ok, then maybe this could be introduced via another patchset.

Regards,

Fabio Estevam



More information about the linux-mtd mailing list