Extend the DT compatibility check to actually use the Wandboard Quad.

Signed-off-by: Alexander Kurz <ak...@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to