[PATCH] dm: core: Read parent ofdata before children

Tom Rini trini at konsulko.com
Mon Apr 6 14:17:30 CEST 2020


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 <sjg at chromium.org>

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: <https://lists.denx.de/pipermail/u-boot/attachments/20200406/172029c5/attachment.sig>


More information about the U-Boot mailing list