Actually, this patch is a RESEND of my v2[1], without patch #2 and #3 as I don't want to dive into details of dtb discussions[2]. I think that the patch #1 alone is useful.
If fdt_addr_r is not defined, "load ... ${fdt_addr_r} ${prefix}${efi_fdtfile}" will fail quietly. So it should be OK. Think about applying my "removable device" patch[3] alongside this patch. [1] https://lists.denx.de/pipermail/u-boot/2018-October/345029.html [2] https://lists.denx.de/pipermail/u-boot/2018-October/344375.html [3] https://lists.denx.de/pipermail/u-boot/2018-November/347491.html Changes in v3 (Nov 27, 2018): * remove v2's patch #2 and #3 Changes in v2 (Oct 22, 2018): * rewrite my previous changes after Alex's comments, including - boot bootmgr only once before searching for boot binary - dtb must be loaded from the same device with boot binary's * add patch#2 as part of this patch set, in particular adding CONFIG_SYS Thanks, -Takahio Akashi AKASHI Takahiro (1): efi_loader: rework fdt handling in distro boot script include/config_distro_bootcmd.h | 38 +++++++++++++++++---------------- 1 file changed, 20 insertions(+), 18 deletions(-) -- 2.19.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot