[PATCH] lib: elf: Fix typo
Daniel Palmer
daniel at thingy.jp
Tue Dec 16 10:35:13 CET 2025
I guess someone had EFI on the mind when writing the comment
and wrote EFI instead of ELF.
Signed-off-by: Daniel Palmer <daniel at thingy.jp>
---
lib/elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/elf.c b/lib/elf.c
index e767a42a3b3f..a92d0d30c666 100644
--- a/lib/elf.c
+++ b/lib/elf.c
@@ -188,7 +188,7 @@ unsigned long load_elf64_image_shdr(unsigned long addr)
* A very simple ELF loader, assumes the image is valid, returns the
* entry point address.
*
- * The loader firstly reads the EFI class to see if it's a 64-bit image.
+ * The loader firstly reads the ELF class to see if it's a 64-bit image.
* If yes, call the ELF64 loader. Otherwise continue with the ELF32 loader.
*/
unsigned long load_elf_image_phdr(unsigned long addr)
--
2.51.0
More information about the U-Boot
mailing list