ARM: mxs: Simplify detection of CrystalFontz boards
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 1 Jul 2013 13:23:22 +0000 (15:23 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 18 Aug 2013 08:34:56 +0000 (16:34 +0800)
As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it
easier to add future boards.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/mach-mxs.c

index 958ef48..98f6e2a 100644 (file)
@@ -457,10 +457,7 @@ static void __init mxs_machine_init(void)
                imx28_evk_init();
        else if (of_machine_is_compatible("bluegiga,apx4devkit"))
                apx4devkit_init();
-       else if (of_machine_is_compatible("crystalfontz,cfa10037") ||
-                of_machine_is_compatible("crystalfontz,cfa10049") ||
-                of_machine_is_compatible("crystalfontz,cfa10055") ||
-                of_machine_is_compatible("crystalfontz,cfa10057"))
+       else if (of_machine_is_compatible("crystalfontz,cfa10036"))
                crystalfontz_init();
 
        of_platform_populate(NULL, of_default_bus_match_table,