diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-01-27 21:25:59 +0100 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2017-02-07 10:54:34 -0600 |
commit | 655217d968807a17df40fee3795e95bee92e5559 (patch) | |
tree | fce8e7dabe7be970c184ed6d4f6cfb625792e40b /drivers | |
parent | 64631700645a90d5734e221e27717cc2227125b0 (diff) | |
download | u-boot-imx-655217d968807a17df40fee3795e95bee92e5559.zip u-boot-imx-655217d968807a17df40fee3795e95bee92e5559.tar.gz u-boot-imx-655217d968807a17df40fee3795e95bee92e5559.tar.bz2 |
net: designware: Fix for use with current Linux device tree for Meson GX
In Uboot for Meson GX the compatible string in meson-gxbb.dtsi so far is:
compatible = "amlogic,meson6-dwmac", "snps,dwmac";
On Linux in the same dt file it's
compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac";
To avoid breaking ethernet with the next DT synch from Linux to U-Boot
(planned as prerequisite for adding Meson GX MMC driver to U-Boot) add
"amlogic,meson-gx-dwmac" to the compatibility list in the designware
driver.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/designware.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/designware.c b/drivers/net/designware.c index e207bc6..a8e2a92 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -763,6 +763,7 @@ static const struct udevice_id designware_eth_ids[] = { { .compatible = "allwinner,sun7i-a20-gmac" }, { .compatible = "altr,socfpga-stmmac" }, { .compatible = "amlogic,meson6-dwmac" }, + { .compatible = "amlogic,meson-gx-dwmac" }, { .compatible = "st,stm32-dwmac" }, { } }; |