Re: [PATCH] arm: imx: remove MACH_MXLADS

Alexander Shiyan shc_work at mail.ru
Sun Feb 16 14:06:55 EST 2014


Воскресенье, 16 февраля 2014, 19:43 +01:00 от Paul Bolle <pebolle at tiscali.nl>:
> On Sun, 2014-02-16 at 22:16 +0400, Alexander Shiyan wrote:
> > Воскресенье, 16 февраля 2014, 19:03 +01:00 от Paul Bolle
> <pebolle at 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 at 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.

---


More information about the linux-arm-kernel mailing list