Although GD_FLG_SKIP_RELOC is enabled for the app, the code for
relocation is still present in the image. Add a few dummy functions
needed on x86.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 lib/efi_client/efi_app.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/lib/efi_client/efi_app.c b/lib/efi_client/efi_app.c
index 1aa43b511b3..60834202088 100644
--- a/lib/efi_client/efi_app.c
+++ b/lib/efi_client/efi_app.c
@@ -31,6 +31,16 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
+int copy_uboot_to_ram(void)
+{
+       return 0;
+}
+
+int do_elf_reloc_fixups(void)
+{
+       return 0;
+}
+
 int efi_init_obj_list(void)
 {
        return EFI_SUCCESS;
-- 
2.43.0

Reply via email to