diff options
author | Tony Lindgren <tony@atomide.com> | 2015-01-28 22:33:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-31 04:42:01 +0300 |
commit | e5a49c1e3b189c744770e04d2b46ec7ca37d604c (patch) | |
tree | 4ffcdc2a900aa73de29b3bfceba7f72dcf3beb0c /drivers/of | |
parent | 4c72c53be5e3c8cf319a020ea671ab0fc32ec96f (diff) | |
download | linux-e5a49c1e3b189c744770e04d2b46ec7ca37d604c.tar.xz |
net: cpsw: Add a minimal cpsw-common module for shared code
Looks like davinci_emac and cpsw can share some code although the
device registers have a different layout.
At least the code for getting the MAC address using syscon can
be shared by passing the register offset. Let's start with that
and set up a minimal shared cpsw-shared.c.
Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions