From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 13 Jan 2016 16:55:21 -0500 Subject: [U-Boot] [PATCH 03/18] dm: core: Call uclass post_bind() after the driver's bind() method In-Reply-To: <1452011474-15207-4-git-send-email-sjg@chromium.org> References: <1452011474-15207-1-git-send-email-sjg@chromium.org> <1452011474-15207-4-git-send-email-sjg@chromium.org> Message-ID: <20160113215521.GP3359@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 Tue, Jan 05, 2016 at 09:30:59AM -0700, Simon Glass wrote: > At present the uclass's post_bind() method is called before the driver's > bind() method. This means that the uclass cannot use any of the information > set up by the driver. Move it later in the sequence to permit this. > > This is an ordering change which is always fairly major in nature. The main > impact is that devices which have children will not see them appear in their > bind() method. From what I can see, existing drivers do not look at their > children in the bind() method, so this should be safe. > > Conceptually this change seems to result in a 'more correct' ordering, since > the uclass (which is broader than the device) gets the last word. > > Signed-off-by: Simon Glass Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: