[U-Boot] [PATCH 1/2] net: designware: Add SoCFPGA GMAC DT compatible string

Marek Vasut marex at denx.de
Mon Jul 27 22:33:16 CEST 2015


Add the OF compatible property to match the SoCFPGA GMAC.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
Cc: Joe Hershberger <joe.hershberger at ni.com>
---
 drivers/net/designware.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index bcae842..cadf3c8 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -608,6 +608,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" },
 	{ }
 };
 
-- 
2.1.4



More information about the U-Boot mailing list