drivers: net: cpsw: Fix reading of mac address for am43 SoCs
authorLokesh Vutla <lokeshvutla@ti.com>
Wed, 1 Feb 2017 03:50:49 +0000 (09:20 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 8 Feb 2017 21:24:25 +0000 (16:24 -0500)
commite9ced147bced4fb6b9b2563bc177af7c7b680753
tree2370c5ba65695ed5ad2b435a41f2abae73a48780
parentdbe7881de0c2bdab972b3cd35b503f69587edbfe
drivers: net: cpsw: 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.

Tested-by: Aparna Balasubramanian <aparnab@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/net/cpsw-common.c