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

Tan, Ley Foon ley.foon.tan at intel.com
Mon Apr 6 10:53:15 CEST 2020



> -----Original Message-----
> From: Simon Glass <sjg at chromium.org>
> Sent: Monday, April 6, 2020 5:38 AM
> To: U-Boot Mailing List <u-boot at lists.denx.de>
> Cc: Ang, Chee Hong <chee.hong.ang at intel.com>; Tom Rini
> <trini at konsulko.com>; Tan, Ley Foon <ley.foon.tan at intel.com>;
> Westergreen, Dalon <dalon.westergreen at intel.com>; See, Chin Liang
> <chin.liang.see at intel.com>; Simon Goldschmidt
> <simon.k.r.goldschmidt at gmail.com>; Marek Vasut <marex at denx.de>;
> Simon Glass <sjg at chromium.org>; Bin Meng <bmeng.cn at gmail.com>; Dario
> Binacchi <dariobin at libero.it>; Heinrich Schuchardt <xypron.glpk at gmx.de>;
> Patrick Delaunay <patrick.delaunay at st.com>; Pavel Herrmann
> <morpheus.ibis at 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 at 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 at intel.com>

Thanks.

Regards
Ley Foon



More information about the U-Boot mailing list