commit | 9e55635e0ac065dc2df2eeaea25195d41ea3d2fc | [log] [tgz] |
---|---|---|
author | Mugunthan V N <mugunthanvnm@ti.com> | Thu Apr 28 15:36:07 2016 +0530 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Tue May 24 11:42:03 2016 -0500 |
tree | a1a1f976cf83649427d7702060a4f69ca9dd7c3e | |
parent | 77f7bc718bc6f4e6d05b759c812db7586efb7eac [diff] |
drivers: net: cpsw: add support for reading mac address from efuse Different TI platforms has to read with different combination to get the mac address from efuse. So add support to read mac address based on machine/device compatibles. The code is taken from Linux drivers/net/ethernet/ti/cpsw-common.c done by Tony Lindgren. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>