]> git.sur5r.net Git - u-boot/commitdiff
net: designware: Add SoCFPGA GMAC DT compatible string
authorMarek Vasut <marex@denx.de>
Sat, 25 Jul 2015 16:38:44 +0000 (18:38 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:05 +0000 (14:14 +0200)
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>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c

index bcae842389aae9de0f2f8e0425c6f9b27dba2775..cadf3c8e5d265cccd67d857970d23d3db51dd3ff 100644 (file)
@@ -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" },
        { }
 };