net: designware: Add SoCFPGA GMAC DT compatible string
PATCH 1/2 net: designware: Add SoCFPGA GMAC DT compatible string
Add the OF compatible property to match the SoCFPGA GMAC.
--- drivers/net/designware.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/designware.c +1 -0
@@ -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" }, { } };
Signature · 1 line
2.1.4
PATCH 2/2 net: designware: Rename the driver var name to eth_designware
The driver variable name is eth_sandbox, which is probably a copy-paste mistake. Fix it.
--- drivers/net/designware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/designware.c +1 -1
@@ -612,7 +612,7 @@ static const struct udevice_id designware_eth_ids[] = { { } }; -U_BOOT_DRIVER (eth_sandbox) = { +U_BOOT_DRIVER (eth_designware) = { .name ="eth_designware" , .id =UCLASS_ETH , .of_match = designware_eth_ids,
Signature · 1 line
2.1.4
PATCH 2/2 net: designware: Rename the driver var name to eth_designware
Quoted 6 lines · Marek Vasut
The driver variable name is
eth_sandbox, which is probably a copy-paste mistake. Fix it.Signed-off-by Marek Vasut <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Joe Hershberger <[email protected]>
Hi Joe, I can pick both of those through u-boot-socfpga if you don't mind, they're trivial and I sure can use them. Can you give me an ACK please ?
Best regards,
Marek Vasut
PATCH 2/2 net: designware: Rename the driver var name to eth_designware
In reply to Marek VasutHi Marek,
Quoted 7 lines · Marek Vasut
The driver variable name is
eth_sandbox, which is probably a copy-paste mistake. Fix it.Signed-off-by Marek Vasut <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Joe Hershberger <[email protected]>---
PATCH 1/2 net: designware: Add SoCFPGA GMAC DT compatible string
In reply to Marek VasutHi Marek,
Quoted 6 lines · Marek Vasut
Add the OF compatible property to match the SoCFPGA GMAC.
Signed-off-by Marek Vasut <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Joe Hershberger <[email protected]>---
PATCH 1/2 net: designware: Add SoCFPGA GMAC DT compatible string
Quoted 11 lines · Joe Hershberger
Hi Marek,
Quoted 6 lines · Marek Vasut
Add the OF compatible property to match the SoCFPGA GMAC.
Signed-off-by Marek Vasut <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Joe Hershberger <[email protected]>---
Acked-by Joe Hershberger <[email protected]>
Applied to u-boot-socfpga/master , thanks !
Best regards,
Marek Vasut
PATCH 2/2 net: designware: Rename the driver var name to eth_designware
In reply to Joe HershbergerQuoted 6 lines · Joe Hershberger
Hi Marek,
Quoted 3 lines · Marek Vasut
The driver variable name is
eth_sandbox, which is probably a copy-paste mistake. Fix it.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Marek Vasut <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Joe Hershberger <[email protected]>---
Acked-by Joe Hershberger <[email protected]>
Applied to u-boot-socfpga/master , thanks, this really helped me a lot :)
Best regards,
Marek Vasut