Re: [PATCH 3/4] rockchip: spl-boot-order: do not attempt to access fdt if OF_PLATDATA

2020-05-14 Thread Kever Yang
On 2020/5/14 上午3:15, Urja Rannikko wrote: gd->fdt_blob is null if using OF_PLATDATA in SPL, which causes a hang after f0921f5098 ("fdt: Sync up to the latest libfdt"). We use the same test that is used in spl_common_init on whether to call fdtdec_setup to unconditionally avoid linking in the fd

[PATCH 3/4] rockchip: spl-boot-order: do not attempt to access fdt if OF_PLATDATA

2020-05-13 Thread Urja Rannikko
gd->fdt_blob is null if using OF_PLATDATA in SPL, which causes a hang after f0921f5098 ("fdt: Sync up to the latest libfdt"). We use the same test that is used in spl_common_init on whether to call fdtdec_setup to unconditionally avoid linking in the fdt-using code when not necessary and thus reduc