summaryrefslogtreecommitdiff
path: root/lib_sparc
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2008-11-10 12:46:20 +0000
committerWolfgang Denk <wd@denx.de>2008-12-07 01:36:14 +0100
commitaf5eb847a10f1037590001355d88bab3fe7be48b (patch)
treefb8c476a936e2ebc61bcaeab2bd452856d62ba7c /lib_sparc
parent4c60259899aa00f59db0d936b8807f9a26411c0f (diff)
SPARC: Fixed compiler error introduced by commit c160a9544743
This patch fixes a build error for the SPARC platform. It was introduced by commit c160a9544743e80e8889edb2275538e7764ce334. Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'lib_sparc')
-rw-r--r--lib_sparc/bootm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib_sparc/bootm.c b/lib_sparc/bootm.c
index 49757595f71..c62cf57d80b 100644
--- a/lib_sparc/bootm.c
+++ b/lib_sparc/bootm.c
@@ -27,6 +27,7 @@
#include <asm/byteorder.h>
#include <asm/prom.h>
#include <asm/cache.h>
+#include <image.h>
#define PRINT_KERNEL_HEADER
@@ -178,7 +179,7 @@ int do_bootm_linux(int flag, int argc, char *argv[], bootm_headers_t * images)
* From now on the only code in u-boot that will be
* executed is the PROM code.
*/
- kernel(kernel_arg_promvec, (void *)ep);
+ kernel(kernel_arg_promvec, (void *)images->ep);
/* It will never come to this... */
while (1) ;