Skip to content
Commit f7553b0e authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Read parent ofdata before children



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: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
parent 54f67720
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment