[PATCH 1/3] efi: Correct logic for OF_EMBED and OF_SEPARATE co-existing
Simon Glass
sjg at chromium.org
Tue Dec 17 15:00:56 CET 2024
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!
More information about the U-Boot
mailing list