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

Marek Vasut
2015-07-27T20:33:16Z

Add the OF compatible property to match the SoCFPGA GMAC.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Joe Hershberger <joe.hershberger@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