]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drivers: net: cpsw-common: Fix reading of mac address for am43 SoCs
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 21 Jun 2017 08:42:04 +0000 (14:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jun 2017 15:14:47 +0000 (11:14 -0400)
commitb88ff4f8c9ef0279f82bca0a83ed860b654f0f8d
tree641abab158157dc8350661a7a164b5afa3e6b399
parent76da0704507bbc51875013f6557877ab308cfd0a
drivers: net: cpsw-common: Fix reading of mac address for am43 SoCs

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.

Reviewed-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw-common.c