summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorBeniamino Galvani <b.galvani@gmail.com>2016-08-16 09:49:50 (GMT)
committerTom Rini <trini@konsulko.com>2016-09-06 17:18:19 (GMT)
commitcfe255611ce183187a3de5ef6fed246bdea7b044 (patch)
tree02acd5004f2391cdef06b1b7798becae50eda80c /drivers/net
parent677b53580d5d86ca65737497829d581544ae71bf (diff)
downloadu-boot-cfe255611ce183187a3de5ef6fed246bdea7b044.tar.xz
meson: odroid-c2: enable Ethernet support through the device tree
Remove the device definition from board file, update the driver with the new compatible property and update config with necessary options. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/designware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index 8ba72e3..9e6d726 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -737,6 +737,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" },
+ { .compatible = "amlogic,meson6-dwmac" },
{ }
};