From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 12 Apr 2019 12:31:43 -0400 Subject: [U-Boot] [U-Boot, 04/11] net: ti: cpsw-common: Isolate getting syscon address from assigning macid In-Reply-To: <20190318082441.16635-5-faiz_abbas@ti.com> References: <20190318082441.16635-5-faiz_abbas@ti.com> Message-ID: <20190412163143.GQ4664@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: