
-----Original Message----- From: Simon Glass sjg@chromium.org Sent: Monday, April 6, 2020 5:38 AM To: U-Boot Mailing List u-boot@lists.denx.de Cc: Ang, Chee Hong chee.hong.ang@intel.com; Tom Rini trini@konsulko.com; Tan, Ley Foon ley.foon.tan@intel.com; Westergreen, Dalon dalon.westergreen@intel.com; See, Chin Liang chin.liang.see@intel.com; Simon Goldschmidt simon.k.r.goldschmidt@gmail.com; Marek Vasut marex@denx.de; Simon Glass sjg@chromium.org; Bin Meng bmeng.cn@gmail.com; Dario Binacchi dariobin@libero.it; Heinrich Schuchardt xypron.glpk@gmx.de; Patrick Delaunay patrick.delaunay@st.com; Pavel Herrmann morpheus.ibis@gmail.com Subject: [PATCH] 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: Simon Glass sjg@chromium.org
Hi Simon
This patch fixed Arria 10 boot up issue in SPL previously due to commit 82de42fa1468. It able boot uboot now.
Tested-by: Ley Foon Tan ley.foon.tan@intel.com
Thanks.
Regards Ley Foon