[U-Boot] [PATCH v2 7/9] net: designware: add generic device tree compatible id

Beniamino Galvani b.galvani at gmail.com
Sun Apr 3 09:18:15 CEST 2016


Add a generic 'snps,dwmac' compatible id to the Synopsys Designware
MAC driver.

Signed-off-by: Beniamino Galvani <b.galvani at gmail.com>
---
 drivers/net/designware.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index 78d6901..f6d8670 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -662,6 +662,7 @@ static int designware_eth_ofdata_to_platdata(struct udevice *dev)
 static const struct udevice_id designware_eth_ids[] = {
 	{ .compatible = "allwinner,sun7i-a20-gmac" },
 	{ .compatible = "altr,socfpga-stmmac" },
+	{ .compatible = "snps,dwmac" },
 	{ }
 };
 
-- 
2.7.3



More information about the U-Boot mailing list