[U-Boot] distro: add more efi dtb prefixes

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Jul 16 18:06:00 UTC 2018


On 06/14/2018 10:46 PM, Guillaume GARDET wrote:
> As used on some distro, such as openSUSE.
> Signed-off-by: Guillaume GARDET <guillaume.gardet at free.fr>
> 
> Cc: Tom Rini <trini at konsulko.com>
> ---
>  include/config_distro_bootcmd.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
> index d672e8ebe6..ad4c7a78f1 100644
> --- a/include/config_distro_bootcmd.h
> +++ b/include/config_distro_bootcmd.h
> @@ -141,7 +141,8 @@
>  		"load ${devtype} ${devnum}:${distro_bootpart} "           \
>  			"${fdt_addr_r} ${prefix}${efi_fdtfile}\0"         \
>  	\
> -	"efi_dtb_prefixes=/ /dtb/ /dtb/current/\0"                        \
> +	"efi_dtb_prefixes=/ /dtb/ /dtb/current/ "                         \
> +		"/boot/ /boot/dtb/ /boot/dtb/current/\0"                  \

I prefer programming against standards and not against whatever is out
in the wild.

Could you, please, indicate according to which standard you think that
the dtb should be found in directory /boot/dtb of the EFI partition.

Best regards

Heinrich

>  	"scan_dev_for_efi="                                               \
>  		"setenv efi_fdtfile ${fdtfile}; "                         \
>  		BOOTENV_EFI_SET_FDTFILE_FALLBACK                          \
> 



More information about the U-Boot mailing list