Skip to content

Commit

Permalink
ARM: mxs: Simplify detection of CrystalFontz boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Shawn Guo committed Aug 18, 2013
1 parent e115d63 commit f71f2e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/arm/mach-mxs/mach-mxs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f71f2e9

Please sign in to comment.