diff options
author | Urja Rannikko <urjaman@gmail.com> | 2020-05-13 19:15:22 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2020-05-22 20:53:20 +0800 |
commit | e68a84360173f90fa37df875e6aa2c83f2858b80 (patch) | |
tree | 976423df87b6fcf39da6f5019396884ab7f8c643 /configs | |
parent | fffdf7290cee85232ee522e27c09c7f1178e6219 (diff) | |
download | u-boot-e68a84360173f90fa37df875e6aa2c83f2858b80.zip u-boot-e68a84360173f90fa37df875e6aa2c83f2858b80.tar.gz u-boot-e68a84360173f90fa37df875e6aa2c83f2858b80.tar.bz2 |
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>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions