diff options
author | Faiz Abbas <faiz_abbas@ti.com> | 2019-03-18 13:54:34 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-12 08:05:53 -0400 |
commit | a58d222df9be560e7fdba0300ca57b02b1362ded (patch) | |
tree | 8048564b0f4fd796276b4d6e406798025693e95e /drivers/net/ftmac100.c | |
parent | f32a816c26d8746668457733440474ee98e256ef (diff) |
net: ti: cpsw-common: Isolate getting syscon address from assigning macid
ti_cm_get_macid() is used to get a syscon node from the dt, read the
efuse address and then assign the macid read from the address. Divide
these two steps into separate functions one of which can be called from
ofdata_to_platdata() while the other can be called from _probe(). This
ensures that platdata can be assigned statically in a board file when
OF_CONTROL is not enabled. Also add a macid_sel_compat in private data
to get information about the macid byte placement.
Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Diffstat (limited to 'drivers/net/ftmac100.c')
0 files changed, 0 insertions, 0 deletions