Re: [PATCH v2 1/5] efi_loader: bootmgr: preserve a passed devicetree

Simon Glass <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <CAFLszTiLNnSy7hEFesuL0DiMRSpZcm73by_889sBnFrrKaKmHg@mail.gmail.com>
On 2026-07-28T13:20:42, Carlo Caione <[email protected]> wrote:
> efi_loader: bootmgr: preserve a passed devicetree
>
> An FDT explicitly passed to efi_bootmgr_run() is currently replaced by
> the FDT referenced by the selected Boot#### load option. This makes an
> operator-supplied devicetree ineffective whenever the boot option carries
> one.
>
> Only consult the load-option FDT when no FDT was passed. Document the
> resulting precedence so the explicit call argument remains the
> highest-priority source.
>
> Signed-off-by: Carlo Caione <[email protected]>
> Reviewed-by: Ilias Apalodimas <[email protected]>
>
> lib/efi_loader/efi_bootmgr.c | 20 +++++++++++---------
>  1 file changed, 11 insertions(+), 9 deletions(-)

Reviewed-by: Simon Glass <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.