Skip to content
Commit e68a8436 authored by Urja Rannikko's avatar Urja Rannikko Committed by Kever Yang
Browse files

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 f0921f50 ("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: default avatarUrja Rannikko <urjaman@gmail.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent fffdf729
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