Re: [PATCH] arm: imx: remove MACH_MXLADS

Alexander Shiyan
2014-02-16T19:06:55Z

???????????, 16 ??????? 2014, 19:43 +01:00 ?? Paul Bolle <pebolle@tiscali.nl>:
> On Sun, 2014-02-16 at 22:16 +0400, Alexander Shiyan wrote:
> > ???????????, 16 ??????? 2014, 19:03 +01:00 ?? Paul Bolle
> <pebolle@tiscali.nl>:
> > > The Kconfig symbol MACH_MXLADS was added in v2.6.29. It has never been
> > > used. Setting it has no effect. There are no calls for
> > > machine_is_mxlads(). This symbol can safely be removed.
> > >
> > > Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> >
> > This is used by mach-mx1ads.c
>
> How is it used?

Kconfig selects MACH_MXLADS, this enables machine_arch_type
from include/generated/mach-types.h which used for machine_is_xx() macro,
so if multiple boards is defined in the kernel, this cause to incorrect matching.
Russel, Arnd, fixme.

---