summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurz <akurz@blala.de>2017-06-08 20:41:36 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-13 09:27:14 +0200
commit9e99b950e6cd2e8a52929d4c9444f5d40df2a1c5 (patch)
treec2ffba2dc98b5f0527fd33e4aba9a6cb48e9dcbb
parentf3d0bf23329bb0f4f20189b82e87c839056e4299 (diff)
downloadbarebox-9e99b950e6cd2e8a52929d4c9444f5d40df2a1c5.tar.gz
barebox-9e99b950e6cd2e8a52929d4c9444f5d40df2a1c5.tar.xz
ARM: i.MX6 Wandboard: enable Wandboard Quad
Extend the DT compatibility check to actually use the Wandboard Quad. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/boards/technexion-wandboard/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boards/technexion-wandboard/board.c b/arch/arm/boards/technexion-wandboard/board.c
index e7b51cc728..2e1f6254c2 100644
--- a/arch/arm/boards/technexion-wandboard/board.c
+++ b/arch/arm/boards/technexion-wandboard/board.c
@@ -63,7 +63,8 @@ static int ar8031_phy_fixup(struct phy_device *dev)
static int wandboard_device_init(void)
{
- if (!of_machine_is_compatible("wand,imx6dl-wandboard"))
+ if (!of_machine_is_compatible("wand,imx6dl-wandboard") &&
+ !of_machine_is_compatible("wand,imx6q-wandboard"))
return 0;
phy_register_fixup_for_uid(PHY_ID_AR8031, AR_PHY_ID_MASK, ar8031_phy_fixup);