Messages in this thread | | | From | Alexander Shiyan <> | Subject | Re: [PATCH] arm: imx: remove MACH MXLADS | Date | Sun, 16 Feb 2014 23:06:55 +0400 |
| |
Воскресенье, 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.
---
| |