[PATCH 1/3] efi: Correct logic for OF_EMBED and OF_SEPARATE co-existing
Tom Rini
trini at konsulko.com
Tue Dec 17 15:25:27 CET 2024
On Tue, Dec 17, 2024 at 08:00:56AM -0600, Simon Glass wrote:
> While we do plan to switch to OF_SEPARATE now it is supported, it seems
> worth at least showing how OF_EMBED could be used instead, just for the
> record.
>
> So make the Makefile rule conditional on OF_SEPARATE and adjust fdtdec
> to avoid a build error when OF_EMBED is used.
>
> Finally. the dtb symbol has a double underscore, so update it to avoid a
> build warning.
>
> With future patches, OF_EMBED will no-longer be used with the EFI app,
> so it is expected that it will eventually stop working.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Fixes: 2e7bf25f6bf ("Support separate DTB files with the UEFI app")
> ---
>
> Makefile | 2 +-
> include/asm-generic/sections.h | 2 +-
> lib/fdtdec.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> Applied to sjg/master, thanks!
Since you've picked up several series that no one was objecting to and
providing reasonable feedback on and applied them to your own tree, do
you plan to squash/rebase them and repost so they can be applied to
master / next at some point?
--
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/20241217/068afb04/attachment.sig>
More information about the U-Boot
mailing list