提交 af5eb847 编写于 作者: D Daniel Hellstrom 提交者: Wolfgang Denk

SPARC: Fixed compiler error introduced by commit c160a954

This patch fixes a build error for the SPARC platform. It was
introduced by commit c160a954.
Signed-off-by: NDaniel Hellstrom <daniel@gaisler.com>
上级 4c602598
......@@ -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) ;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册