Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f71f2e95 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Shawn Guo
Browse files

ARM: mxs: Simplify detection of CrystalFontz boards



As all CrystalFontz boards are compatible with "crystalfontz,cfa10036", make it
easier to add future boards.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent e115d63c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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,