]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
SPARC: Fixed compiler error introduced by commit c160a9544743
authorDaniel Hellstrom <daniel@gaisler.com>
Mon, 10 Nov 2008 12:46:20 +0000 (12:46 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 7 Dec 2008 00:36:14 +0000 (01:36 +0100)
This patch fixes a build error for the SPARC platform. It was
introduced by commit c160a9544743e80e8889edb2275538e7764ce334.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
lib_sparc/bootm.c

index 49757595f7129c104252f15bf67462cd768c9c5d..c62cf57d80b25584187c777c09d595d342714b25 100644 (file)
@@ -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) ;