mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-11 03:28:39 +01:00
elf: add prototype for valid_elf_image
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
f1bd871ad1
commit
6f38477d3a
2 changed files with 3 additions and 2 deletions
|
|
@ -8,12 +8,11 @@
|
|||
#include <common.h>
|
||||
#include <config.h>
|
||||
#include <command.h>
|
||||
#include <elf.h>
|
||||
|
||||
/*
|
||||
* FIXME: Add code to test image and it's header.
|
||||
*/
|
||||
extern int valid_elf_image (unsigned long addr);
|
||||
|
||||
static int
|
||||
image_check(ulong addr)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -570,4 +570,6 @@ unsigned long elf_hash(const unsigned char *name);
|
|||
that may still be in object files. */
|
||||
#define R_PPC_TOC16 255
|
||||
|
||||
int valid_elf_image(unsigned long addr);
|
||||
|
||||
#endif /* _ELF_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue