diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2019-10-07 19:10:50 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-07 13:23:49 -0400 |
commit | 2a7232371ab27e13f9d131a25111e951c3c729dd (patch) | |
tree | 156241808b68f8bfed09059cf32e95a1a9040c8b /drivers/net/designware.c | |
parent | 879396a2405d394573307adf16763cbe769c35f2 (diff) |
NET: DW: fix regression for ARC boards
The commit
642b80d256e ("net: designware: drop compatible altr, socfpga-stmmac")
breaks designware ethernet for all ARC boards. It removes
"altr, socfpga-stmmac" compatible from "drivers/net/designware.c"
without changing compatible in the boards which use it.
Fix that by adding "snps,arc-dwmac-3.70a" compatible string to
"drivers/net/designware.c" and using it in ARC boards device tree.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Diffstat (limited to 'drivers/net/designware.c')
-rw-r--r-- | drivers/net/designware.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 145eeac45f..0031370085 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -852,6 +852,7 @@ static const struct udevice_id designware_eth_ids[] = { { .compatible = "amlogic,meson-gxbb-dwmac" }, { .compatible = "amlogic,meson-axg-dwmac" }, { .compatible = "st,stm32-dwmac" }, + { .compatible = "snps,arc-dwmac-3.70a" }, { } }; |