[U-Boot] [U-Boot, 04/11] net: ti: cpsw-common: Isolate getting syscon address from assigning macid
trini at konsulko.com
Fri Apr 12 16:31:43 UTC 2019
On Mon, Mar 18, 2019 at 01:54:34PM +0530, Faiz Abbas wrote:
> 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 at ti.com>
Applied to u-boot/master, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the U-Boot