[U-Boot] [PATCH v2 6/6] net: macb: Add compatible string for MACB on SiFive Unleashed

Anup Patel Anup.Patel at wdc.com
Wed Jun 19 04:01:27 UTC 2019


We have a separate compatible string for MACB ethernet on SiFive
Unleashed so this patch adds the SiFive MACB compatible string to
the MACB ethernet driver.

Signed-off-by: Anup Patel <anup.patel at wdc.com>
---
 drivers/net/macb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index c5560a7111..383c37d8e6 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -1225,6 +1225,7 @@ static const struct udevice_id macb_eth_ids[] = {
 	{ .compatible = "atmel,sama5d3-gem" },
 	{ .compatible = "atmel,sama5d4-gem" },
 	{ .compatible = "cdns,zynq-gem" },
+	{ .compatible = "sifive,fu540-macb" },
 	{ }
 };
 
-- 
2.17.1



More information about the U-Boot mailing list