summaryrefslogtreecommitdiff
path: root/board/w7o
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:58:01 +0200
committerTom Rini <trini@ti.com>2014-10-25 15:27:36 -0400
commit6f38477d3ad4cbe7d9efa9344dec805144828b2e (patch)
tree5017593a248c14fdae6d3dd815d3d24003c2bbc9 /board/w7o
parentf1bd871ad1583a4b5db35b7cc9d1a66c7b88b6e6 (diff)
downloadu-boot-imx-6f38477d3ad4cbe7d9efa9344dec805144828b2e.zip
u-boot-imx-6f38477d3ad4cbe7d9efa9344dec805144828b2e.tar.gz
u-boot-imx-6f38477d3ad4cbe7d9efa9344dec805144828b2e.tar.bz2
elf: add prototype for valid_elf_image
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'board/w7o')
-rw-r--r--board/w7o/fsboot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/w7o/fsboot.c b/board/w7o/fsboot.c
index 25fbb55..8f4fe31 100644
--- a/board/w7o/fsboot.c
+++ b/board/w7o/fsboot.c
@@ -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)
{