@@ -50,7 +50,6 @@ void arch_lmb_reserve(struct lmb *lmb)
int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *images)
{
- ulong rd_len;
ulong initrd_start, initrd_end;
int ret;
@@ -87,6 +86,12 @@ int do_bootm_linux(int flag, int argc, char * const argv[], bootm_headers_t *ima
bootstage_mark(BOOTSTAGE_ID_RUN_OS);
+ /* Workaround to eliminate warnings: FIX ME */
+ initrd_start = 0;
+ initrd_end = 0;
+ cmd_start = 0;
+ cmd_end = 0;
+
/*
* Linux Kernel Parameters (passing board info data):
* sp+00: Ignore, side effect of using jsr to jump to kernel
- delete an unused variable - set forcibly some variables to zero Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> --- *** CAUTION *** I do not think I am doing right thing. (I post this patch just to raise the flag.) Experts of M68K architecture, please fix this correctly. arch/m68k/lib/bootm.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)