]> git.baikalelectronics.ru Git - 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)
commitf8604e50cf3e4dcdb9954c258e0cae7c5d2aeb79
tree641abab158157dc8350661a7a164b5afa3e6b399
parent14d1fd3478699a7aa5e611d87c5a72a32d4eac72
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