X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=lib_sparc%2Fbootm.c;h=c62cf57d80b25584187c777c09d595d342714b25;hb=3bc8556f9b24af60dba2b55a0abb1182dff45ecc;hp=49757595f7129c104252f15bf67462cd768c9c5d;hpb=4cc64742a89e8ce90c69c3c85e4e9f4706062f2f;p=oweals%2Fu-boot.git diff --git a/lib_sparc/bootm.c b/lib_sparc/bootm.c index 49757595f7..c62cf57d80 100644 --- a/lib_sparc/bootm.c +++ b/lib_sparc/bootm.c @@ -27,6 +27,7 @@ #include #include #include +#include #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) ;