[PATCH 3/4] ARM: i.MX6 Wandboard: enable Wandboard Quad
Alexander Kurz
akurz at blala.de
Thu Jun 8 11:41:36 PDT 2017
Extend the DT compatibility check to actually use the Wandboard Quad.
Signed-off-by: Alexander Kurz <akurz at blala.de>
---
arch/arm/boards/technexion-wandboard/board.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boards/technexion-wandboard/board.c b/arch/arm/boards/technexion-wandboard/board.c
index e7b51cc..2e1f625 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);
--
2.1.4
More information about the barebox
mailing list