mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 17:52:07 +02:00
elf: add prototype for valid_elf_image
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
@@ -8,12 +8,11 @@
|
|||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
|
#include <elf.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FIXME: Add code to test image and it's header.
|
* FIXME: Add code to test image and it's header.
|
||||||
*/
|
*/
|
||||||
extern int valid_elf_image (unsigned long addr);
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
image_check(ulong addr)
|
image_check(ulong addr)
|
||||||
{
|
{
|
||||||
|
@@ -570,4 +570,6 @@ unsigned long elf_hash(const unsigned char *name);
|
|||||||
that may still be in object files. */
|
that may still be in object files. */
|
||||||
#define R_PPC_TOC16 255
|
#define R_PPC_TOC16 255
|
||||||
|
|
||||||
|
int valid_elf_image(unsigned long addr);
|
||||||
|
|
||||||
#endif /* _ELF_H */
|
#endif /* _ELF_H */
|
||||||
|
Reference in New Issue
Block a user