common: cmd_elf: make do_bootelf_exec static
do_bootelf_exec was a weak function without a prototype nor and strong version. Just make it static. Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
69d2754588
commit
553d8c3a5a
@ -28,8 +28,7 @@ static unsigned long load_elf_image_phdr(unsigned long addr);
|
||||
static unsigned long load_elf_image_shdr(unsigned long addr);
|
||||
|
||||
/* Allow ports to override the default behavior */
|
||||
__attribute__((weak))
|
||||
unsigned long do_bootelf_exec(ulong (*entry)(int, char * const[]),
|
||||
static unsigned long do_bootelf_exec(ulong (*entry)(int, char * const[]),
|
||||
int argc, char * const argv[])
|
||||
{
|
||||
unsigned long ret;
|
||||
|
Loading…
Reference in New Issue
Block a user