[PATCH] efi_loader: add /dtbs search path

Ilias Apalodimas ilias.apalodimas at linaro.org
Tue Jul 23 08:43:26 CEST 2024


On Mon, 22 Jul 2024 at 20:55, Caleb Connolly <caleb.connolly at linaro.org> 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";
> +               break;
>         default:
>                 return log_msg_ret("pref", -EINVAL);
>         }
>
> --
> 2.45.2
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list