projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b966e5d
)
riscv: Remove unused _relocate arguments
author
Ivan Gorinov
<ivan.gorinov@intel.com>
Thu, 28 Jun 2018 21:50:17 +0000
(14:50 -0700)
committer
Tom Rini
<trini@konsulko.com>
Thu, 19 Jul 2018 20:31:37 +0000
(16:31 -0400)
EFI image handle and system table are not used in _relocate().
Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
arch/riscv/lib/reloc_riscv_efi.c
patch
|
blob
|
history
diff --git
a/arch/riscv/lib/reloc_riscv_efi.c
b/arch/riscv/lib/reloc_riscv_efi.c
index 8b4b2b1d8f6cda4269d01e7f962c3c1d29e964c5..c1039dd165d9ae6ef003c62f8e51d89e23f5208a 100644
(file)
--- a/
arch/riscv/lib/reloc_riscv_efi.c
+++ b/
arch/riscv/lib/reloc_riscv_efi.c
@@
-50,8
+50,7
@@
#define ELF_R_TYPE ELF32_R_TYPE
#endif
-efi_status_t _relocate(long ldbase, Elf_Dyn *dyn, efi_handle_t image,
- struct efi_system_table *systab)
+efi_status_t EFIAPI _relocate(long ldbase, Elf_Dyn *dyn)
{
long relsz = 0, relent = 0;
Elf_Rela *rel = 0;