[PATCH v4 24/29] efi: arm: Provide startup and relocation code
Simon Glass
sjg at chromium.org
Sat Feb 15 04:22:45 CET 2025
Build in the EFI-app startup code as well as the code to relocate U-Boot
to the loaded position, since this is under the control of the previous
firmware.
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Tom Rini <trini at konsulko.com>
---
(no changes since v1)
arch/arm/lib/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
index a41566c816d..a2b8ef96ff5 100644
--- a/arch/arm/lib/Makefile
+++ b/arch/arm/lib/Makefile
@@ -32,6 +32,8 @@ obj-y += relocate.o
endif # ARM64
endif # EFI_APP
+obj-$(CONFIG_EFI_APP) += $(EFI_CRT0) $(EFI_RELOC)
+
obj-$(CONFIG_CPU_V7M) += cmd_boot.o
obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o
obj-$(CONFIG_CMD_BOOTI) += bootm.o image.o
--
2.43.0
More information about the U-Boot
mailing list