Re: [PATCH] arm: imx: remove MACH_MXLADS

From: Alexander Shiyan
Date: Sun Feb 16 2014 - 14:07:10 EST


ÐÐÑÐÑÐÑÐÐÑÐ, 16 ÑÐÐÑÐÐÑ 2014, 19:43 +01:00 ÐÑ Paul Bolle <pebolle@xxxxxxxxxx>:
> On Sun, 2014-02-16 at 22:16 +0400, Alexander Shiyan wrote:
> > ÐÐÑÐÑÐÑÐÐÑÐ, 16 ÑÐÐÑÐÐÑ 2014, 19:03 +01:00 ÐÑ Paul Bolle
> <pebolle@xxxxxxxxxx>:
> > > 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@xxxxxxxxxx>
> >
> > 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.

---
N‹§²æ¸›yú²X¬¶ÇvØ–)Þ{.nlj·¥Š{±‘êX§¶›¡Ü}©ž²ÆzÚj:+v‰¨¾«‘êZ+€Êzf£¢·hšˆ§~†­†Ûÿû®w¥¢¸?™¨è&¢)ßf”ùy§m…á«a¶Úÿ 0¶ìå