[U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac

Simon Goldschmidt simon.k.r.goldschmidt at gmail.com
Tue Aug 20 08:30:58 UTC 2019


Ralph Siemsen <ralph.siemsen at linaro.org> schrieb am Mo., 19. Aug. 2019,
20:43:

> The same compatible = "altr,socfpga-stmmac" appears in both
> drivers/net/designware.c and drivers/net/dwmac_socfgpa.c,
> creating ambiguity in which driver will be bound.
>
> For Intel/Altera SoC devices, dwmac_socfpga.c is the correct driver.
> So drop the compatible string from designware.c.
>
> Signed-off-by: Ralph Siemsen <ralph.siemsen at linaro.org>
>

Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>

---
> This compatible string also appears in: axs10x_mb.dtsi and hsdk.dts.
> Maintainers of those boards have been copied, kindly review.
>
>  drivers/net/designware.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/designware.c b/drivers/net/designware.c
> index c4fe40b19a..145eeac45f 100644
> --- a/drivers/net/designware.c
> +++ b/drivers/net/designware.c
> @@ -847,7 +847,6 @@ 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" },
>         { .compatible = "amlogic,meson-gx-dwmac" },
>         { .compatible = "amlogic,meson-gxbb-dwmac" },
> --
> 2.17.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
>


More information about the U-Boot mailing list