macb: fix check if hw is gem
Fix check for peripheral version in MACB_MID register to treat Xilinx
ZynqMP as GEM. All MIDs >= 2 indicate a GEM not only MID == 2.

Signed-off-by: Thomas Haemmerle <thomas.haemmerle@wolfvision.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 71e32b9 commit 14d2d51739bca5a2a9ff4fc5b5917ed6220afd77
@Thomas Hämmerle Thomas Hämmerle authored on 8 Jan 2019
Sascha Hauer committed on 9 Jan 2019
Showing 1 changed file
View
drivers/net/macb.c