From: Tom Rini Date: Mon, 6 Apr 2020 08:17:30 -0400 Subject: [PATCH] dm: core: Read parent ofdata before children In-Reply-To: <20200405153813.1.I23fe0a6aceda96decde70b46477268190ea77d83@changeid> References: <20200405153813.1.I23fe0a6aceda96decde70b46477268190ea77d83@changeid> Message-ID: <20200406121730.GK27133@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 Sun, Apr 05, 2020 at 03:38:19PM -0600, Simon Glass wrote: > At present a device can read its ofdata before its parent has done the > same. This can cause problems in the case where the parent has a 'ranges' > property, thus affecting the operation of dev_read_addr(), for example. > > We already probe parent devices before children so it does not seem to be > a large step to do the same with ofdata. > > Make the change and update the documentation in this area. > > Signed-off-by: Simon Glass Is this intended for the current release, or part of the changes you had been thinking about for the next release? Also, with this change should we undo other changes that had adapted to 82de42fa1468 ? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: