[PATCH 1/8] fdtdec: Correct devicetree symbol for EFI app

Simon Glass sjg at chromium.org
Mon Dec 9 17:27:54 CET 2024


This should have a single underscore to match the declaration in
include/asm-generic/sections.h so fix it.

For some reason it was not picked up in CI

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 lib/fdtdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index c1eb1c9f825..e87e537f0c3 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -1238,7 +1238,7 @@ static void *fdt_find_separate(void)
 		fdt_blob = (ulong *)__bss_end;
 #elif defined CONFIG_EFI_APP
 	/* FDT is in a separate section */
-	fdt_blob = (ulong *)__dtb;
+	fdt_blob = (ulong *)_dtb;
 #else
 	/* FDT is at end of image */
 	fdt_blob = (ulong *)_end;
-- 
2.34.1



More information about the U-Boot mailing list