commit | f0f5652aa1e81775fd8f5957ca0232af7737c518 | [log] [tgz] |
---|---|---|
author | Urja Rannikko <urjaman@gmail.com> | Wed May 13 19:15:22 2020 +0000 |
committer | Kever Yang <kever.yang@rock-chips.com> | Fri May 22 20:53:20 2020 +0800 |
tree | 976423df87b6fcf39da6f5019396884ab7f8c643 | |
parent | e8c4c96cdde13e7ae973f183ea84d89688f89fbc [diff] |
rockchip: spl-boot-order: do not attempt to access fdt if OF_PLATDATA 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 reduce SPL size. Signed-off-by: Urja Rannikko <urjaman@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>