[PATCH] efi_loader: add /dtbs search path
Heinrich Schuchardt
xypron.glpk at gmx.de
Tue Jul 23 07:39:59 CEST 2024
On 7/22/24 19:55, Caleb Connolly wrote:
> Add an additional search path /dtbs, this is where dtbs are installed on
> postmarketOS and potentially other distros.
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
> lib/efi_loader/efi_fdt.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/lib/efi_loader/efi_fdt.c b/lib/efi_loader/efi_fdt.c
> index 86ba00c2bdd9..4777943b80df 100644
> --- a/lib/efi_loader/efi_fdt.c
> +++ b/lib/efi_loader/efi_fdt.c
> @@ -42,8 +42,11 @@ int efi_get_distro_fdt_name(char *fname, int size, int seq)
> break;
> case 2:
> prefix = "/dtb/current";
> break;
> + case 3:
> + prefix = "/dtbs";
Debian's flash-kernel also installs into /dtbs.
Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> + break;
> default:
> return log_msg_ret("pref", -EINVAL);
> }
>
More information about the U-Boot
mailing list