+ Joe

On Wednesday 01 February 2017 09:20 AM, Lokesh Vutla wrote:
> cpsw driver tries to get macid for am43xx SoCs using the compatible
> ti,am4372. But not all variants of am43x uses this complatible like
> epos evm uses ti,am438x. So use a generic compatible ti,am43 to get
> macid for all am43 based platforms.
> 
> Tested-by: Aparna Balasubramanian <apar...@ti.com>
> Signed-off-by: Lokesh Vutla <lokeshvu...@ti.com>
> ---
>  drivers/net/cpsw-common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/cpsw-common.c b/drivers/net/cpsw-common.c
> index e828e85d8b..607eb4563c 100644
> --- a/drivers/net/cpsw-common.c
> +++ b/drivers/net/cpsw-common.c
> @@ -110,7 +110,7 @@ int ti_cm_get_macid(struct udevice *dev, int slave, u8 
> *mac_addr)
>       if (of_device_is_compatible(dev, "ti,dm816-emac"))
>               return cpsw_am33xx_cm_get_macid(dev, 0x30, slave, mac_addr);
>  
> -     if (of_machine_is_compatible("ti,am4372"))
> +     if (of_machine_is_compatible("ti,am43"))
>               return cpsw_am33xx_cm_get_macid(dev, 0x630, slave, mac_addr);
>  
>       if (of_machine_is_compatible("ti,dra7"))
> 
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to