[PATCH v2 3/3] efi: Avoid using dm_scan_other()
Tom Rini
trini at konsulko.com
Tue Nov 21 14:21:10 CET 2023
On Tue, Nov 21, 2023 at 01:18:09PM +0100, Heinrich Schuchardt wrote:
> On 11/12/23 21:55, Simon Glass wrote:
> > This function is defined by bootstd so using it precludes using that
> > feature. Use the board_early_init_r() feature instead.
> >
> > This requires moving quite a lot of code into the board directory, butt
> > this is the normal place for code called by board_early_init_r()
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > Changes in v2:
> > - Drop duplicate acpi_xsdt patch
> > - Put the board_early_init_r code into board/
> >
> > board/efi/efi-x86_app/Makefile | 5 +
> > board/efi/efi-x86_app/efi_app.c | 205 ++++++++++++++++++++++++++++++++
>
> Our target should be to enable building the EFI app on all architectures.
>
> Only x86 specific code should be added to board/efi/efi-x86_app/efi_app.c.
A later enhancement to make U-Boot as an EFI app more generic would be
good, but outside the scope of this patch which is moving generic code
out from "lib" and in to "board".
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231121/8157ed77/attachment.sig>
More information about the U-Boot
mailing list